TMS320TCI6618

Communications Infrastructure KeyStone SoC

www.ti.com

SPRS688—February 2011

 

7.21 Timers

The timers can be used to time events, count events, generate pulses, interrupt the CPU, and send synchronization events to the EDMA3 channel controller.

7.21.1 Timers Device-Specific Information

The TMS320TCI6618 device has eight 64-bit timers in total. Of which Timer0 through Timer3 are dedicated to each of the four CorePacs as a watchdog timer and can also be used as general-purpose timers. Each of other four timers can also be configured as a general-purpose timer only, with each timer programmed as a 64-bit timer or as two separate 32-bit timers.

When operating in 64-bit mode, the timer counts either VBUS clock cycles or input (TINPLx) pulses (rising edge) and generates an output pulse/waveform (TOUTLx) plus an internal event (TINTLx) on a software-programmable period.

When operating in 32-bit mode, the timer is split into two independent 32-bit timers. Each timer is made up of two 32-bit counters: a high counter and a low counter. The timer pins, TINPLx and TOUTLx are connected to the low counter. The timer pins, TINPHx and TOUTHx are connected to the high counter.

When operating in Watchdog mode, the timer counts down to zero and generates an event. It is a requirement that software writes to the timer before the count expires, after which the count begins again. If the count ever reaches zero, the timer event output is asserted. Reset initiated by a watch dog timer can be set by programming ‘‘Reset Type Status Register (RSTYPE)’’ on page 161 and the type of reset initiated can set by programming ‘‘Reset Configuration Register (RSTCFG)’’ on page 163. For more information, see the 64-bit Timer (Timer 64) for KeyStone Devices User Guide in ‘‘Related Documentation from Texas Instruments’’ on page 59.

7.21.2 Timers Electrical Data/Timing

The tables and figures below describe the timing requirements and switching characteristics of Timer0 through Timer7 peripherals.

Table 7-78

Timer Input Timing Requirements (1)

 

 

 

(see Figure 7-53)

 

 

 

 

 

 

 

 

 

 

No.

 

 

Min

Max

Unit

1

tw(TINPH)

Pulse duration, high

12C

 

ns

2

tw(TINPL)

Pulse duration, low

12C

 

ns

End of Table 7-78

 

 

 

 

 

 

 

 

 

1 If CORECLKSEL = 0, C = 1/CORECLK(NIP) frequency in ns. If CORECLKSEL = 1, C = 1/ALTCORECLK frequency in ns.

Table 7-79

Timer Output Switching Characteristics (1)

(2)

 

 

 

(see Figure 7-53)

 

 

 

 

 

 

 

 

 

 

 

 

No.

 

Parameter

 

Min

Max

Unit

3

tw(TOUTH)

Pulse duration, high

 

12C - 3

 

ns

4

tw(TOUTL)

Pulse duration, low

 

12C - 3

 

ns

End of Table 7-79

 

 

 

 

 

 

 

 

 

 

 

1 Over recommended operating conditions.

2 If CORECLKSEL = 0, C = 1/CORECLK(NIP) frequency in ns. If CORECLKSEL = 1, C = 1/ALTCORECLK frequency in ns.

ADVANCE INFORMATION

Copyright 2011 Texas Instruments Incorporated

187

Соседние файлы в папке MAZ-DOD-MAT-2012