TMP86xy46NG Toshiba, TMP86xy46NG Datasheet - Page 79

no-image

TMP86xy46NG

Manufacturer Part Number
TMP86xy46NG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy46NG

Package
SDIP42
Rom Types (m=mask,p=otp,f=flash)
M/P/F
Rom Size
8/16/32
Ram Size
512/512/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
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
1
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
33
Power Supply (v)
4.5 to 5.5
8.3 Function
8. 16-Bit TimerCounter 1 (TC1)
In the timer mode, the up-counter counts up using the internal clock. When a match between the up-counter and the timer
register 1A (TC1DRA) value is detected, an INTTC1 interrupt is generated and the up-counter is cleared. After being
cleared, the up-counter restarts counting. Setting TC1CR<ACAP1> to “1” captures the up-counter value into the timer reg-
ister 1B (TC1DRB) with the auto-capture function. Use the auto-capture function in the operative condition of TC1. A cap-
tured value may not be fixed if it's read after the execution of the timer stop or auto-capture disable. Read the capture value
in a capture enabled condition. Since the up-counter value is captured into TC1DRB by the source clock of up-counter after
setting TC1CR<ACAP1> to "1". Therefore, to read the captured value, wait at least one cycle of the internal source clock
before reading TC1DRB for the first time.
8.3 Function
8.3.1 Timer mode
width measurement, programmable pulse generator output modes.
Table 8-1 Internal Source Clock for TimerCounter 1 (Example: fc = 16 MHz, fs = 32.768 kHz)
TimerCounter 1 has six types of operating modes: timer, external trigger timer, event counter, window, pulse
TC1CK
00
01
10
Example 1 :Setting the timer mode with source clock fc/2
Example 2 :Auto-capture
Note: Since the up-counter value is captured into TC1DRB by the source clock of up-counter after setting TC1CR<ACAP1> to "1".
Therefore, to read the captured value, wait at least one cycle of the internal source clock before reading TC1DRB for the first
time.
Resolution
(fc = 16 MHz, TBTCR<DV7CK> = “0”)
[µs]
128
8.0
0.5
LDW
DI
SET
EI
LD
LD
LD
:
LD
DV7CK = 0
Maximum Time Setting
(TC1DRA), 1E84H
(EIRL). 7
(TC1CR), 00000000B
(TC1CR), 00010000B
(TC1CR), 01010000B
:
WA, (TC1DRB)
32.77 m
0.524
8.39
NORMAL1/2, IDLE1/2 mode
[s]
Page 68
Resolution
; Sets the timer register (1 s ÷ 2
; IMF= “0”
; Enables INTTC1
; IMF= “1”
; Selects the source clock and mode
; Starts TC1
; ACAP1 ← 1
; Reads the capture value
244.14
[µs]
8.0
0.5
11
[Hz] and generating an interrupt 1 second later
DV7CK = 1
Maximum Time Setting
32.77 m
0.524
16.0
[s]
11
/fc = 1E84H)
Resolution
SLOW, SLEEP mode
244.14
[µs]
TMP86PM46NG
Maximum
Time Set-
ting [s]
16.0

Related parts for TMP86xy46NG