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

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
6.3 Address Trap
6.3 Address Trap
Watchdog Timer Control Register 1
Watchdog Timer Control Register 2
WDTCR1
6.3.1 Selection of Address Trap in Internal RAM (ATAS)
6.3.2 Selection of Operation at Address Trap (ATOUT)
6.3.3 Address Trap Interrupt (INTATRAP)
(0034H)
WDTCR2
(0035H)
traps.
The Watchdog Timer Control Register 1 and 2 share the addresses with the control registers to generate address
an instruction in the internal RAM area, clear WDTCR1<ATAS> to “0”. To enable the WDTCR1<ATAS> set-
ting, set WDTCR1<ATAS> and then write D2H to WDTCR2.
setting in WDTCR1<ATAS>.
WDTCR1<ATOUT>.
attempt be made to fetch an instruction from the on-chip RAM (while WDTCR1<ATAS> is “1”), DBR or the
SFR area, address trap interrupt (INTATRAP) will be generated.
ter flag (IMF).
already accepted, the new address trap is processed immediately and the previous interrupt is held pending.
Therefore, if address trap interrupts are generated continuously without execution of the RETN instruction, too
many levels of nesting may cause a malfunction of the microcontroller.
WDTCR1<ATAS> specifies whether or not to generate address traps in the internal RAM area. To execute
Executing an instruction in the SFR or DBR area generates an address trap unconditionally regardless of the
When an address trap is generated, either the interrupt request or the reset request can be selected by
While WDTCR1<ATOUT> is “0”, if the CPU should start looping for some cause such as noise and an
An address trap interrupt is a non-maskable interrupt which can be accepted regardless of the interrupt mas-
When an address trap interrupt is generated while the other interrupt including an address trap interrupt is
To generate address trap interrupts, set the stack pointer beforehand.
ATOUT
WDTCR2
7
ATAS
7
6
Select address trap generation in
the internal RAM area
Select operation at address trap
6
Write
Watchdog timer control code
and address trap area control
code
ATAS
5
5
ATOUT
4
4
(WDTEN)
3
0: Generate no address trap
1: Generate address traps (After setting ATAS to “1”, writing the control code
0: Interrupt request
1: Reset request
3
D2H: Enable address trap area selection (ATRAP control code)
4EH: Clear the watchdog timer binary counter (WDT clear code)
B1H: Disable the watchdog timer (WDT disable code)
Others: Invalid
D2H to WDTCR2 is required)
Page 70
2
2
(WDTT)
1
1
(WDTOUT)
0
0
(Initial value: **** ****)
(Initial value: **11 1001)
TMP86PM49UG
Write
Write
only
only

Related parts for TMP86xy49UG/F/NG