DSPIC30F5011-30I/PTG Microchip Technology, DSPIC30F5011-30I/PTG Datasheet - Page 79

16BIT MCU-DSP 30MHZ, SMD, 30F5011

DSPIC30F5011-30I/PTG

Manufacturer Part Number
DSPIC30F5011-30I/PTG
Description
16BIT MCU-DSP 30MHZ, SMD, 30F5011
Manufacturer
Microchip Technology
Series
DsPIC30Fr
Datasheet

Specifications of DSPIC30F5011-30I/PTG

Core Frequency
30MHz
Embedded Interface Type
CAN, I2C, SPI, UART
No. Of I/o's
52
Flash Memory Size
66KB
Supply Voltage Range
2.5V To 5.5V
Operating Temperature Range
-40°C To
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
12.0
This section describes the input capture module and
associated Operational modes. The features provided
by this module are useful in applications requiring fre-
quency (period) and pulse measurement. Figure 12-1
depicts a block diagram of the input capture module.
Input capture is useful for such modes as:
• Frequency/Period/Pulse Measurements
• Additional Sources of External Interrupts
FIGURE 12-1:
12.1
The simple capture events in the dsPIC30F product
family are:
• Capture every falling edge
• Capture every rising edge
• Capture every 4th rising edge
• Capture every 16th rising edge
• Capture every rising and falling edge
These simple Input Capture modes are configured by
setting the appropriate bits ICM<2:0> (ICxCON<2:0>).
 2004 Microchip Technology Inc.
ICx pin
Note:
INPUT CAPTURE MODULE
Simple Capture Event Mode
Where ‘x’ is shown, reference is made to the registers or bits associated to the respective input capture
channels 1 through N.
Prescaler
1, 4, 16
3
INPUT CAPTURE MODE BLOCK DIAGRAM
ICxCON
Data Bus
Mode Select
ICM<2:0>
ICBNE, ICOV
Synchronizer
Clock
ICI<1:0>
Preliminary
Detection
Logic
Edge
From GP Timer Module
The key operational features of the input capture
module are:
• Simple Capture Event mode
• Timer2 and Timer3 mode selection
• Interrupt on input capture event
These Operating modes are determined by setting the
appropriate bits in the ICxCON register (where
x = 1,2,...,N). The dsPIC devices contain up to 8
capture channels (i.e., the maximum value of N is 8).
12.1.1
There are four input capture prescaler settings speci-
fied by bits ICM<2:0> (ICxCON<2:0>). Whenever the
capture channel is turned off, the prescaler counter will
be cleared. In addition, any Reset will clear the
prescaler counter.
Interrupt
Logic
dsPIC30F5011/5013
Set Flag
Set Flag
ICxIF
ICxIF
CAPTURE PRESCALER
Logic
FIFO
R/W
T2_CNT
ICxBUF
1
16
DS70116C-page 77
0
T3_CNT
16
ICTMR

Related parts for DSPIC30F5011-30I/PTG