TMP86xy92DMG Toshiba, TMP86xy92DMG Datasheet - Page 199

no-image

TMP86xy92DMG

Manufacturer Part Number
TMP86xy92DMG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy92DMG

Package
SSOP30
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
16
Ram Size
512
Driver Led
8
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
2
I2c/sio Channels
1
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
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
24
Power Supply (v)
4 to 5.5
18.4.2
18.4.2.1
execution of the control program, copy the control program into the RAM area or obtain it from the external using
the communication pin. The procedures to execute the control program in the RAM area in the MCU mode are
described below.
In the MCU mode, write operations are performed by executing the control program in the RAM area. Before
Flash Memory Control in the MCU mode
the control program in the RAM area.)
the MCU mode)
Note 1: Before writing to the flash memory in the RAM area, disable interrupts by setting the interrupt master
Note 2: When writing to the flash memory, do not intentionally use non-maskable interrupts (the watchdog timer
(Steps 1 and 2 are controlled by the program in the flash memory, and steps 3 through 11 are controlled by
How to write to the flash memory by executing a user write control program in the RAM area (in
1. Transfer the write control program to the RAM area.
2. Jump to the RAM area.
3. Disable (DI) the interrupt master enable flag (IMF←"0").
4. Disable the watchdog timer, if it is used.
5. Set FLSCR<FLSMD> to "0011B" (to enable command sequence execution).
6. Execute the erase command sequence.
7. Read the same flash memory address twice.
8. Execute the write command sequence.
9. Read the same flash memory address twice.
10. Set FLSCR<FLSMD> to "1100B" (to disable command sequence execution).
11. Jump to the flash memory area.
enable flag (IMF) to "0". Usually disable interrupts by executing the DI instruction at the head of the write
control program in the RAM area.
must be disabled if it is used). If a non-maskable interrupt occurs while the flash memory is being written,
unexpected data is read from the flash memory (interrupt vector), resulting in malfunction of the micro-
controller.
(Repeat step 7 until the same data is read by two consecutive read operations.)
(Repeat step 9 until the same data is read by two consecutive read operations.)
Page 185
TMP86FH92DMG

Related parts for TMP86xy92DMG