TMP86xy49UG/F/NG Toshiba, TMP86xy49UG/F/NG Datasheet - Page 148

no-image

TMP86xy49UG/F/NG

Manufacturer Part Number
TMP86xy49UG/F/NG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy49UG/F/NG

Package
LQFP64/QFP64/SDIP64
Rom Types (m=mask,p=otp,f=flash)
M/P/F
Rom Size
16/32/60
Ram Size
512/1K/2K
Driver Led
13
Driver Lcd
-
Spi/sio Channels
2
Uart/sio Channels
2
I2c/sio Channels
1
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
16
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
4
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
56
Power Supply (v)
4.5 to 5.5
Example :Setting the timer mode with source clock fc/2
TC6CR<TC6S>
TTREG5
(Lower byte)
TTREG6
(Upper byte)
INTTC6 interrupt request
11.3.5 16-Bit Timer Mode (TC5 and 6)
Table 11-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 TC6CR<TC6S> to 1, an INTTC6 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 5 and 6 are cascad-
When a match between the up-counter and the timer register (TTREG5, TTREG6) 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 = 5, 6
Figure 11-6 16-Bit Timer Mode Timing Chart (TC5 and TC6)
?
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
(TTREG5), 927CH
(EIRE). 2
(TC5CR), 13H
(TC6CR), 04H
(TC6CR), 0CH
mode
fs/2
3
3
Match
detect
7
mn-1
Page 131
fc = 16 MHz
Hz, and generating an interrupt 300 ms later
128 µs
500 ns
8 µs
2 µs
mn
0
Resolution
Counter
clear
: Sets the timer register (300 ms
: Enables INTTC6 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
TMP86PM49UG
fs = 32.768 kHz
16 s
0

Related parts for TMP86xy49UG/F/NG