tmp1941af TOSHIBA Semiconductor CORPORATION, tmp1941af Datasheet - Page 162

no-image

tmp1941af

Manufacturer Part Number
tmp1941af
Description
32-bit Tx System Risc
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP1941AF
Manufacturer:
TOSHIBA
Quantity:
48
Part Number:
TMP1941AF
Quantity:
4
Part Number:
tmp1941af(Z)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
11.4.2
Figure 11.10 Using the TMRA0 Match-Detect Output as a Trigger for the TMRA1
(3) Using the TMRA0 Match-Detect Output as a Trigger for the TMRA1
16-Bit Interval Timer Mode
16-bit interval timer mode by programming the TA01M[1:0] field in the TA01MOD register to 01.
TMRA0. In this mode, the TA1CLK[1:0] bits in the TA01MOD register are don’t-cares. The clock
input to the TMRA0 can be selected from an external clock and one of three prescalar outputs (see
Table 11.2).
TA1REG. Programming these registers should only be attempted when the timers are not running.
The TMRA0 and the TMRA1 are cascadable to form a 16-bit interval timer. The TMRA01 is put in
In 16-bit interval timer mode, the TMRA1 is clocked by the counter overflow output from the
Write the lower eight bits of a time constant value to the TA0REG and the upper eight bits to the
Example: Generating the INTTA1 interrupt at a 0.2-second interval (fc = 40 MHz)
Example: TA1REG = 04H and TA0REG = 80H
output (TA0TRG) as the clock source for the TMRA1.
TMRA0 clock source, the required time constant value is calculated as follows:
generates a match-detect output, but the TMRA0 continues counting up. A match between the
UC0 and the TA0REG does not cause an INTTA0 interrupt.
generates a match-detect output. When the TMRA0 and TMRA1 match-detect outputs are asserted
simultaneously, both the up-counters (UC0 and UC1) are reset to 00H and an interrupt is
generated on INTTA1. Also, if so enabled, the timer flip-flop (TA1FF) is toggled.
Match-Detect Signal from the
TMRA0 Comparator
Match Output
TMRA0 Up-Counter
(when TA0REG = 5)
TMRA1 Up-Counter
(when TA1REG = 2)
TMRA1 Match Output
Set the TMRA01 in 8-bit interval timer mode. Select the TMRA0 comparator match-detect
Clocking conditions:
Under the above conditions, φT16 has a period of 3.2 µs @ 40 MHz. When φT16 is used as the
Thus, the TA1REG is to be set to F4H and the TA0REG to 24H.
Every time the up-counter UC0 reaches the value in the TA0REG, the TMRA0 comparator
Every time the up-counter UC1 reaches the value in the TA1REG, the TMRA1 comparator
System clock:
High-speed clock gear: ¤1 (fc)
Prescaler clock:
0.2 s ÷ 3.2 µs = 62500 = H424H
TA1OUT Timer Output
Figure 11.11 Timer Output in 16-Bit Interval Timer Mode
TMRA0 Comparator
Up-Counter Values
INTTA1 Interrupt
(UC1/UC0)
1
TMP1941AF-122
0000H
High-speed (fc)
fperiph/4 (fperiph = fsys)
2
1
3
0080H
4
5
0180H
1
2
0280H
3
2
4
0380H
5
1
0480H
TMP1941AF
2
Toggled
1
3
2003-03-27

Related parts for tmp1941af