TMP86xy44UG Toshiba, TMP86xy44UG Datasheet - Page 110

no-image

TMP86xy44UG

Manufacturer Part Number
TMP86xy44UG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy44UG

Package
QFP44
Rom Types (m=mask,p=otp,f=flash)
M/P
Rom Size
60
Ram Size
1K
Driver Led
19
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
-
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
8
Da Converter Channels
1
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
35
Power Supply (v)
4.5 to 5.5
Example :Setting the timer mode with source clock fc/2
TC4CR<TC4S>
TTREG3
(Lower byte)
TTREG4
(Upper byte)
INTTC4 interrupt request
10.3.5 16-Bit Timer Mode (TC3 and 4)
Table 10-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 lower byte and upper 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
Figure 10-6 16-Bit Timer Mode Timing Chart (TC3 and TC4)
?
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.
?
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). 1
(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 99
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 clock 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
pins may output a pulse.
7
8.39 s
÷
, and 16-bit timer mode
0
2
Maximum Time Setting
7
/fc = 927CH).
Counter
clear
1
2
fs = 32.768 kHz
TMP86CS44UG
16 s
0

Related parts for TMP86xy44UG