Input Capture - Microchip Taiwan
Input Capture - Microchip Taiwan
Input Capture - Microchip Taiwan
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Input</strong> <strong>Capture</strong><br />
第 一 代 的 IC module<br />
• dsPIC30F , PIC24FXXXGA0 等 系 列 內 建 第 一 代 的 <strong>Input</strong><br />
<strong>Capture</strong> module<br />
• 最 多 提 供 達 8 個 <strong>Input</strong> <strong>Capture</strong> Channels<br />
• 利 用 捕 捉 16-bit timer 的 值 來 計 算 輸 入 信 號 觸 發 的 時 間<br />
當 CPU 執 行 於 30 MIPS 時 的 解 析 度 = 33 ns (Tcy)<br />
<br />
當 CPU 執 行 於 30 MIPS 並 搭 配 16x pre-scale 時 解 析 度 可 達<br />
2.1 ns ( 33/16 = 2.1 )<br />
• 每 個 capture input 都 有 4 層 的 buffer<br />
<br />
<br />
<br />
Interrupt on 1- 4 capture events<br />
FIFO buffer overflow status<br />
FIFO buffer empty status<br />
dsPIC Peripheral Module Training – RTC <strong>Taiwan</strong><br />
SLIDE 3