DSPIC30F5013 Microchip Technology Inc., DSPIC30F5013 Datasheet - Page 77

no-image

DSPIC30F5013

Manufacturer Part Number
DSPIC30F5013
Description
Dspic30f5011/5013 High-performance Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F5013-20E/PT
Manufacturer:
MAXIM
Quantity:
101
Part Number:
DSPIC30F5013-20E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F5013-20E/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F5013-20I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F5013-20I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F5013-30I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F5013T-20E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F5013T-20E/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F5013T-20I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F5013T-20I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
11.0
This section describes the second 32-bit General Pur-
pose (GP) Timer module (Timer4/5) and associated
operational modes. Figure 11-1 depicts the simplified
block diagram of the 32-bit Timer4/5 module.
Figure 11-2 and Figure 11-3 show Timer4/5 configured
as two independent 16-bit timers, Timer4 and Timer5,
respectively.
The Timer4/5 module is similar in operation to the
Timer2/3 module. However, there are some differences
which are listed as follows:
FIGURE 11-1:
© 2006 Microchip Technology Inc.
Note: This data sheet summarizes features of this group
of dsPIC30F devices and is not intended to be a complete
reference source. For more information on the CPU,
peripherals, register descriptions and general device
functionality, refer to the “dsPIC30F Family Reference
Manual” (DS70046).
Note:
T5IF
Event Flag
T4CK
TIMER4/5 MODULE
(T4CON<6>)
Timer Configuration bit T32 (T4CON<3>) must be set to ‘
bits are respective to the T4CON register.
Data Bus<15:0>
Write TMR4
Read TMR4
TGATE
0
1
32-BIT TIMER4/5 BLOCK DIAGRAM
Reset
Equal
16
TMR5HLD
TMR5
MSB
PR5
Comparator x 32
16
Q
Q
16
TMR4
LSB
PR4
CK
D
Gate
Sync
T
CY
TGATE (T4CON<6>)
• The Timer4/5 module does not support the ADC
• Timer4/5 can not be utilized by other peripheral
The operating modes of the Timer4/5 module are deter-
mined by setting the appropriate bit(s) in the 16-bit
T4CON and T5CON SFRs.
For 32-bit timer/counter operation, Timer4 is the least
significant word and Timer5 is the most significant of
the 32-bit timer.
event trigger feature
modules, such as input capture and output
compare
Note:
dsPIC30F5011/5013
1
’ for a 32-bit timer/counter operation. All control
1 x
0 1
0 0
For 32-bit timer operation, T5CON control
bits are ignored. Only T4CON control bits
are used for setup and control. Timer4
clock and gate inputs are utilized for the
32-bit timer module but an interrupt is gen-
erated with the Timer5 interrupt flag (T5IF)
and the interrupt is enabled with the
Timer5 interrupt enable bit (T5IE).
Sync
TON
TCKPS<1:0>
1, 8, 64, 256
Prescaler
2
DS70116F-page 75

Related parts for DSPIC30F5013