ZHCS894U April 2001 – July 2019 TMS320F2810 , TMS320F2811 , TMS320F2812
PRODUCTION DATA.
请参考 PDF 数据表获取器件具体的封装图。
There are three 32-bit CPU-timers on the F281x devices (CPU-TIMER0/1/2).
Timer 2 is reserved for DSP/BIOS. CPU-Timer 0 and CPU-Timer 1 can be used in user applications. These timers are different from the general-purpose (GP) timers that are present in the Event Manager modules (EVA, EVB).
NOTE
If the application is not using DSP/BIOS, then CPU-Timer 2 can be used in the application.
In the F281x devices, the timer interrupt signals (TINT0, TINT1, TINT2) are connected as shown in Figure 6-2.
The general operation of the timer is as follows: The 32-bit counter register “TIMH:TIM” is loaded with the value in the period register “PRDH:PRD”. The counter register decrements at the SYSCLKOUT rate of the C28x. When the counter reaches 0, a timer interrupt output signal generates an interrupt pulse. The registers listed in Table 6-3 are used to configure the timers. For more information, see the TMS320x281x DSP System Control and Interrupts Reference Guide.
NAME | ADDRESS | SIZE (x16) | DESCRIPTION |
---|---|---|---|
TIMER0TIM | 0x00 0C00 | 1 | CPU-Timer 0, Counter Register |
TIMER0TIMH | 0x00 0C01 | 1 | CPU-Timer 0, Counter Register High |
TIMER0PRD | 0x00 0C02 | 1 | CPU-Timer 0, Period Register |
TIMER0PRDH | 0x00 0C03 | 1 | CPU-Timer 0, Period Register High |
TIMER0TCR | 0x00 0C04 | 1 | CPU-Timer 0, Control Register |
Reserved | 0x00 0C05 | 1 | |
TIMER0TPR | 0x00 0C06 | 1 | CPU-Timer 0, Prescale Register |
TIMER0TPRH | 0x00 0C07 | 1 | CPU-Timer 0, Prescale Register High |
TIMER1TIM | 0x00 0C08 | 1 | CPU-Timer 1, Counter Register |
TIMER1TIMH | 0x00 0C09 | 1 | CPU-Timer 1, Counter Register High |
TIMER1PRD | 0x00 0C0A | 1 | CPU-Timer 1, Period Register |
TIMER1PRDH | 0x00 0C0B | 1 | CPU-Timer 1, Period Register High |
TIMER1TCR | 0x00 0C0C | 1 | CPU-Timer 1, Control Register |
Reserved | 0x00 0C0D | 1 | |
TIMER1TPR | 0x00 0C0E | 1 | CPU-Timer 1, Prescale Register |
TIMER1TPRH | 0x00 0C0F | 1 | CPU-Timer 1, Prescale Register High |
TIMER2TIM | 0x00 0C10 | 1 | CPU-Timer 2, Counter Register |
TIMER2TIMH | 0x00 0C11 | 1 | CPU-Timer 2, Counter Register High |
TIMER2PRD | 0x00 0C12 | 1 | CPU-Timer 2, Period Register |
TIMER2PRDH | 0x00 0C13 | 1 | CPU-Timer 2, Period Register High |
TIMER2TCR | 0x00 0C14 | 1 | CPU-Timer 2, Control Register |
Reserved | 0x00 0C15 | 1 | |
TIMER2TPR | 0x00 0C16 | 1 | CPU-Timer 2, Prescale Register |
TIMER2TPRH | 0x00 0C17 | 1 | CPU-Timer 2, Prescale Register High |
Reserved | 0x00 0C18 – 0x00 0C3F | 40 |