Figure 12–4. timer timing – Texas Instruments TMS320C3x User Manual

Page 387

Advertising
background image

Timers

12-8

Figure 12–4. Timer Timing

2/f(H1)
1/f(H1)

1/f(CLKSRC)

period register/f(CLKSRC)

period register/f(CLKSRC)

2 x period register/f(CLKSRC)

(a) TSTAT and timer output (INV = 0) when C/P = 0 (pulse mode)

(b) TSTAT and timer output (INV = 0) when C/P = 1 (clock mode)

1/f(CLKSRC)

2/f(H1)

TINT

TINT

TINT

TINT

TINT

The timer signaling is determined by the frequency of the timer input clock and
the period register. The following equations are valid with either an internal or
an external timer clock:

f(pulse mode) = f(timer clock) / period register

f(clock mode) = f(timer clock) / (2 x period register)

Note:

Period register

If the period register equals 0, see Section 12.1.4.

Example 12–1 provides some examples of the TCLKx output when the period
register is set to various values and clock or pulse mode is selected.

Advertising