TMP86C909XB Toshiba, TMP86C909XB Datasheet - Page 106

no-image

TMP86C909XB

Manufacturer Part Number
TMP86C909XB
Description
EMULATION CHIP FOR TMP86F SDIP
Manufacturer
Toshiba
Datasheet

Specifications of TMP86C909XB

Accessory Type
Adapter
For Use With/related Products
TMP86F SDIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example :Setting the timer mode with source clock fc/2
TC4CR<TC4S>
TTREG3
(Lower byte)
TTREG4
(Upper byte)
INTTC4 interrupt request
9.3.5 16-Bit Timer Mode (TC3 and 4)
Table 9-6 Source Clock for 16-Bit Timer Mode
Internal
source clock
Counter
DV7CK = 0
(fc = 16.0 MHz)
NORMAL1/2, IDLE1/2 mode
fc/2
fc/2
fc/2
fc/2
able to form a 16-bit timer.
timer is started by setting TC4CR<TC4S> to 1, an INTTC4 interrupt is generated and the up-counter is cleared.
After being cleared, the up-counter continues counting. Program the upper byte and lower byte in this order in
the timer register. (Programming only the upper or lower byte should not be attempted.)
11
7
5
3
In the timer mode, the up-counter counts up using the internal clock. The TimerCounter 3 and 4 are cascad-
When a match between the up-counter and the timer register (TTREG3, TTREG4) value is detected after the
Note 1: In the timer mode, fix TCjCR<TFFj> to 0. If not fixed, the
Note 2: In the timer mode, do not change the TTREGj setting while the timer is running. Since TTREGj is not in the
Note 3: j = 3, 4
?
shift register configuration in the timer mode, the new value programmed in TTREGj is in effect immediately
after programming of TTREGj. Therefore, if TTREGj is changed while the timer is running, an expected
operation may not be obtained.
Figure 9-6 16-Bit Timer Mode Timing Chart (TC3 and TC4)
?
Source Clock
DV7CK = 1
0
fs/2
fc/2
fc/2
fc/2
n
m
3
7
5
3
LDW
DI
SET
EI
LD
LD
LD
1
2
SLOW1/2,
SLEEP1/2
(TTREG3), 927CH
(EIRH). 3
(TC3CR), 13H
(TC4CR), 04H
(TC4CR), 0CH
mode
fs/2
3
3
Match
detect
7
mn-1
fc = 16 MHz
Hz, and generating an interrupt 300 ms later
Page 95
128 µs
500 ns
8 µs
2 µs
mn
0
Resolution
Counter
clear
: Sets the timer register (300 ms
: Enables INTTC4 interrupt.
:Sets the operating cock to fc/2
: Sets the 16-bit timer mode (upper byte).
: Starts the timer.
(lower byte).
1
fs = 32.768 kHz
PDOj
244.14 µs
2
,
PWMj
, and
Match
detect
mn-1
PPGj
fc = 16 MHz
mn
524.3 ms
131.1 ms
32.8 ms
7
pins may output a pulse.
8.39 s
÷
, and 16-bit timer mode
0
2
7
/fc = 927CH).
Counter
clear
Repeated Cycle
1
2
fs = 32.768 kHz
TMP86F409NG
16 s
0

Related parts for TMP86C909XB