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

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
RA006
21.3
Table 21-1 Command Sequence
1
2
3
4
5
6
21.3.1
(partial erase in units of
Command sequence
in Table 21-1.
Security Program
Product ID Entry
Product ID Exit
Byte Program
Sector Erase
In MCU and serial PROM modes, the command sequence consists of six commands (JEDEC compatible), as shown
Note 1: Specify the address and data to be written (Refer to Table 21-2 about BA).
Note 2: The area to be erased is specified with the upper 4 bits of the address (Refer to Table 21-3 about SA).
Note 3: Do not start the STOP, IDLE0, IDLE1, IDLE2, SLEEP1 or SLEEP0 mode while a command sequence is being executed
Note 4: # ; 0x1 through 0xF should be specified as the upper 4bits of the address. However, while FLSCRM<BAREAM> is "1",
Note 5: XXX ; Don’t care
Chip Erase
(all erase)
Command Sequence
in the 4th bus write cycle. The range of addresses that can be specified is shown in Table 21-2. For example, to
write data to 0x1000 in the data area, set FLSCR1<FAREA> to "0y01", set "0xD5" on FLSCR2<CR1EN>, and
then specify 0x9000 as an address in the 4th bus write cycle. The time needed to write each byte is 40 μs maximum.
The next command sequence cannot be executed if an ongoing write operation is not completed. To check the
completion of the write operation, perform read operations twice on the same address in the flash memory, and
perform polling until the same data is read from the flash memory. During the write operation, bit 6 is reversed
each time a read is performed.
4KB)
Note 1: To rewrite data to addresses in the flash memory where data (including 0xFF) is already written, make sure
Note 2: The data and code areas become mirror areas. As you access these areas, you are brought to the same
Note 3: Do not perform a Byte Program on areas other than those shown in Table 21-2.
This command writes the flash memory in units of one byte. The address and data to be written are specified
Byte program
or a task specified in a command sequence is being executed (write, erase or ID entry).
0x2 or more should be specified. Usually, it is recommended that 0xF is specified.
that you erase the existing data by performing a sector erase or chip erase before writing data.
physical address in memory. When performing a Byte Program, make sure that you write data to either of
these two areas, not both.
1st Bus Write Cy-
0x#555
0x#555
0x#555
0x#555
0x#555
0xXX
Add
cle
0xAA
0xAA
0xAA
0xAA
0xAA
0xF0
Data
2nd Bus Write Cy-
0x#AAA
0x#AAA
0x#AAA
0x#AAA
0x#AAA
Add
-
cle
0x55
0x55
0x55
0x55
0x55
Data
-
Page 327
3rd Bus Write Cy-
0x#555
0x#555
0x#555
0x#555
0x#555
Add
-
cle
0xA0
0x80
0x80
0x90
0xA5
Data
-
(Note 1)
0xFF7F
4th Bus Write Cy-
0x#555
0x#555
Add
BA
-
-
cle
(Note 1)
0xAA
0xAA
Data
Data
0x00
-
-
0x#AAA
0x#AAA
5th Bus Write Cy-
Add
-
-
-
-
cle
Data
0x55
0x55
-
-
-
-
TMP89FS60
(Note 2)
6th Bus Write Cy-
0x#555
Add
SA
-
-
-
-
cle
0x30
0x10
Data
-
-
-
-

Related parts for TMP89xy60UG/FG