English
Language : 

TMS320DM642_08 Datasheet, PDF (160/176 Pages) Texas Instruments – Video/Imaging Fixed-Point Digital Signal Processor
TMS320DM642
Video/Imaging Fixed-Point Digital Signal Processor
SPRS200L – JULY 2002 – REVISED JANUARY 2007
www.ti.com
5.18 Timer
The C6000™ DSP device has 32-bit general-purpose timers that can be used to:
• Time events
• Count events
• Generate pulses
• Interrupt the CPU
• Send synchronization events to the DMA
The timers have two signaling modes and can be clocked by an internal or an external source. The timers
have an input pin and an output pin. The input and output pins (TINP and TOUT) can function as timer
clock input and clock output. They can also be respectively configured for general-purpose input and
output.
With an internal clock, for example, the timer can signal an external A/D converter to start a conversion, or
it can trigger the DMA controller to begin a data transfer. With an external clock, the timer can count
external events and interrupt the CPU after a specified number of events.
5.18.1 Timer Device-Specific Information
The DM642 device has a total of three 32-bit general-purpose timers (Timer0, Timer1, and Timer2).
Timer2 is not externally pinned out.
For more detailed information, see the TMS320C6000 DSP 32-Bit Timer Reference Guide (literature
number SPRU582).
5.18.2 Timer Peripheral Register Description(s)
HEX ADDRESS RANGE
0194 0000
0194 0004
0194 0008
0194 000C – 0197 FFFF
Table 5-81. Timer 0 Registers
ACRONYM
REGISTER NAME
CTL0
Timer 0 control register
PRD0
CNT0
–
Timer 0 period register
Timer 0 counter register
Reserved
COMMENTS
Determines the operating mode of the timer, monitors the
timer status, and controls the function of the TOUT pin.
Contains the number of timer input clock cycles to count.
This number controls the TSTAT signal frequency.
Contains the current value of the incrementing counter.
HEX ADDRESS RANGE
0198 0000
0198 0004
0198 0008
0198 000C – 019B FFFF
Table 5-82. Timer 1 Registers
ACRONYM
REGISTER NAME
CTL1
Timer 1 control register
PRD1
CNT1
–
Timer 1 period register
Timer 1 counter register
Reserved
COMMENTS
Determines the operating mode of the timer, monitors the
timer status, and controls the function of the TOUT pin.
Contains the number of timer input clock cycles to count.
This number controls the TSTAT signal frequency.
Contains the current value of the incrementing counter.
HEX ADDRESS RANGE
01AC 0000
01AC 0004
01AC 0008
Table 5-83. Timer 2 Registers
ACRONYM
REGISTER NAME
CTL2
Timer 2 control register
PRD2
CNT2
Timer 2 period register
Timer 2 counter register
COMMENTS
Determines the operating mode of the timer, monitors the
timer status.
Contains the number of timer input clock cycles to count.
This number controls the TSTAT signal frequency.
Contains the current value of the incrementing counter.
160 DM642 Peripheral Information and Electrical Specifications
Submit Documentation Feedback