TMP86xy09NG Toshiba, TMP86xy09NG Datasheet - Page 70

no-image

TMP86xy09NG

Manufacturer Part Number
TMP86xy09NG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy09NG

Package
SDIP32
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
8/16
Ram Size
256/512
Driver Led
8
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
6
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
1
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Dual Clock
Clock Gear
-
Number Of I/o Ports
26
Power Supply (v)
2.7 to 5.5
7.2 Watchdog Timer Control
7.2.3 Watchdog Timer Disable
7.2.4 Watchdog Timer Interrupt (INTWDT)
Example :Disabling the watchdog timer
Example :Setting watchdog timer interrupt
ister in other procedures causes a malfunction of the microcontroller.
by the binary-counter overflow.
master flag (IMF).
is already accepted, the new watchdog timer interrupt is processed immediately and the previous interrupt is
held pending. Therefore, if watchdog timer interrupts are generated continuously without execution of the
RETN instruction, too many levels of nesting may cause a malfunction of the microcontroller.
To disable the watchdog timer, set the register in accordance with the following procedures. Setting the reg-
Note:While the watchdog timer is disabled, the binary counters of the watchdog timer are cleared.
When WDTCR1<WDTOUT> is cleared to “0”, a watchdog timer interrupt request (INTWDT) is generated
A watchdog timer interrupt is the non-maskable interrupt which can be accepted regardless of the interrupt
When a watchdog timer interrupt is generated while the other interrupt including a watchdog timer interrupt
To generate a watchdog timer interrupt, set the stack pointer before setting WDTCR1<WDTOUT>.
Table 7-1 Watchdog Timer Detection Time (Example: fc = 16.0 MHz, fs = 32.768 kHz)
1. Set the interrupt master flag (IMF) to “0”.
2. Set WDTCR2 to the clear code (4EH).
3. Set WDTCR1<WDTEN> to “0”.
4. Set WDTCR2 to the disable code (B1H).
WDTT
00
01
10
11
DI
LD
LDW
LD
LD
(WDTCR2), 04EH
(WDTCR1), 0B101H
SP, 023FH
(WDTCR1), 00001000B
DV7CK = 0
524.288 m
131.072 m
32.768 m
2.097
Watchdog Timer Detection Time[s]
NORMAL1/2 mode
Page 60
: IMF
: WDTEN
: WDTOUT
: Clears the binary coutner
: Sets the stack pointer
0
DV7CK = 1
0, WDTCR2
62.5 m
250 m
0
4
1
Disable code
62.5 m
SLOW
250 m
mode
4
1
TMP86C809NG

Related parts for TMP86xy09NG