TMP86xy48UG/FG Toshiba, TMP86xy48UG/FG Datasheet - Page 173

no-image

TMP86xy48UG/FG

Manufacturer Part Number
TMP86xy48UG/FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy48UG/FG

Package
LQFP64/QFP64
Rom Types (m=mask,p=otp,f=flash)
F/E
Rom Size
32
Ram Size
2K
Driver Led
11
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
1
High-speed Serial Output
2
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
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
54
Power Supply (v)
2.7 to 3.6
Figure 2.17.13 Example of Using Support Program 2 to Read Data from the FLASH Area
(3) Support program 1 (Block transfer from the RAM area to the FLASH data area)
Example) Setting up HL = 0050H, DE = 8100H, and B = 1FH, and executing a
USER_SUB_WRITE section code abs = 3E00H
sUSER_main1:
sEEP_warmingup:
sRAM_to_EEP:
sBFBUSY_loop:
sEEP_write_end:
Shown below is the support program source code for writing data to the FLASH.
Block transfer
CALL instruction for support program 2 (3E2CH)
TEST
JRS
SET
TEST
JRS
DI
AND
LD
LD
LD
INC
INC
DEC
JRS
TEST
JRS
LD
RET
008FH
0050H
0051H
0052H
0053H
:
:
RAM area
86FM48-169
(EEPSR).1
f,sRAM_to_EEP
(EEPCR).0
(EEPSR).1
t,sEEP_warmingup
DE,0FFC0H
(EEPCR),3BH
WA,(HL)
(DE),WA
HL
HL
B
F,sBFBUSY_loop
(EEPSR).0
F,sEEP_write_end
(EEPCR),0CBH
0AH
50H
12H
55H
40H
Read
8100H
8101H
8102H
8103H
813FH
:
:
FLASH area
;
;
;
;
;
;
;
;
;
;
50H
0AH
12H
55H
40H
Jump sRAM_to_EEP if the
EEPSR<EWUPEN> is “1”
Set the EEPCR<MNPWDW> to “1”.
Wait until a warm-up is completed.
Disable an interrupt.
Mask the 6 low-order bits.
Enable a write to the FLASH.
Read data from the RAM.
Write data to the FLASH.
Perform polling on the BFBUSY flag.
Disable a write to the FLASH.
TMP86FM48
2007-08-24

Related parts for TMP86xy48UG/FG