TMP89xy60UG/FG Toshiba, TMP89xy60UG/FG Datasheet - Page 358

no-image

TMP89xy60UG/FG

Manufacturer Part Number
TMP89xy60UG/FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP89xy60UG/FG

Package
LQFP64/QFP64
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
32/60
Ram Size
3K
Driver Led
8
Driver Lcd
-
Spi/sio Channels
-
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
Y
Number Of I/o Ports
58
Power Supply (v)
4.3 to 5.5
21.6
API (Application Programming Interface)
RA006
21.6
Table 21-5 List of API
(.BTEraseChip)
(.BTCalcUART)
(.BTEraseSec)
(.BTGetRP)
(.BTSetRP)
(.BTWrite)
Address
0x1010
0x1012
0x1014
0x1016
0x1018
0x101E
flash memory. After mapping of the BOOTROM, it allows easy erasing or writing on the flash memory by only calling
the subroutine in BOOTROM. The Table 21-5 shows the list of API.
The BOOTROM has a support program (API) which contains a special subroutine for erasing or writing on the
Note 1: Because working registers (general-purpose registers) are rewritten in the support program, the contents of general-
Note 2: While the support program is executed, a maximum 7 bytes are used as stack which doesn’t include the stack used by
Note 3: Each API works properly without the setting Enable Code (0xD5) as argument. However, it is recommended to set the
API (Application Programming Interface)
Writing the data to speci-
fied address of one byte.
Erasing the specified one
sector.
Executing the Chip
Erase.
Getting the status of Se-
curity Program.
Setting the Security Pro-
gram.
Calculating the setting for
UART (Baud rate) from
the captured value by tim-
er counter.
purpose registers should be saved before calling the support program.
interrupts. Therefore, be sure to reserve a stack area beforehand.
Enable Code (0xD5) to keep compatibility in the family products.
Contents
(Note2)
7bytes
4bytes
6bytes
6bytes
6bytes
4bytes
Using
Stack
Working
Register
(Note1)
WA
WA
WA
WA
WA
WA
BC
DE
BC
DE
BC
DE
BC
DE
BC
DE
BC
DE
IX
IX
IX
IX
IX
IX
IY
Page 342
Register
(SP-)
WA
WA
C
C
C
C
C
C
E
A
A
A
A
Specify the address to be
written.
0x00
Specify the data to be
written.
0xD5 (Enable Code)
Specify the sector to be
erased.
0xD5 (Enable Code)
0xD5 (Enable Code)
0x00
0xD5 (Enable Code)
0x00
0xD5 (Enable Code)
0x00
Captured value by timer
counter
The number of bit for cal-
culation.
Argument
Setting Value
Register
W
A
A
-
-
-
-
Setting value for RTSEL
Setteing value for UARTDR
Other
0xFF
0xFF
than
Return value
-
-
-
-
Security Program
disabled.
Security Program
enabled.
TMP89FS60
Contents
-
-
-
-

Related parts for TMP89xy60UG/FG