SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
The Connectivity Manager has three CPU timers, each operating on the CMCLK and generating an interrupt at certain periodic interval which is determined by the TDDR and TPRD register settings. Each timer operates at a clock period which equals:
TIMER_CLOCK_PERIOD = CMCLK_PERIOD x (TDDR+1)
Each timer generates an interrupt when it reaches 0, whose period equals:
TIMER_INTERRUPT_PERIOD = TIMER_CLOCK_PERIOD x (PRD+1)
Upon the timer reaching zero, the period value is reloaded and the sequence repeats. The timer can be stopped/started by writing a 1/0 to the TCR.TSS bit. The behavior of the timer on a CPU halt (debug halt) is determined by the "FREE, SOFT" bits of the TCR register.
Figure 41-3 and Figure 41-4 show the timer clock periods and the timer interrupt periods.