TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 597

no-image

TMPM382FSFG

Manufacturer Part Number
TMPM382FSFG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMPM382FSFG

Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
64K
Rom Type
Flash
Ram (kbytes)
8K
Number Of Pins
64
Package
QFP(14x14)
Vcc
5V
Cpu Mhz
40
Ssp (ch) Spi
1
I2c/sio (ch)
1
Uart/sio (ch)
3
Usb
-
Can
-
Ethernet
-
External Bus Interface
N
Cs/wait Controller (ch)
-
Dma Controller
2
10-bit Da Converter
-
10-bit Ad Converter
-
12-bit Ad Converter
10
16-bit Timer / Counter
6
Motor / Igbt Control
Y
Real Time Clock
1
Watchdog Timer
Y
Osc Freq Detect
Y
Clock Gear
Y
Low-power Hold Function
-
Remote Control Interface
Y
Hardware Cec Controller
-
Comparators
-
Low-voltage Detector
Y
Etm Hardware Trace
2-bit
23 Flash Memory Operation
Note that addressing of operation commands is different from the case of standard commands due to the
specific interface arrangements with the CPU. Also note that the flash memory is written in 32-bit blocks. So,
32-bit (word) data transfer commands must be used in writing the flash memory.
23.3 On-board Programming of Flash Memory (Rewrite/Erase)
Automatic page program
Automatic chip erase
Automatic block erase
Protect function
23.3.1 Flash Memory
Major functions
In on-board programming, the CPU is to execute software commands for rewriting or erasing the
flash memory. The rewrite/erase control program should be prepared by the user beforehand.
Because the flash memory content cannot be read while it is being written or erased, it is necessary
to run the rewrite/erase program from the internal RAM or from an external memory device after
shifting to the user boot mode.
Except for some functions, writing and erasing flash memory data are in accordance with the
standard JEDEC commands. In writing or erasing, use 32-bit data transfer command of the CPU to
enter commands to the flash memory. Once the command is entered, the actual write or erase
operation is automatically performed internally.
(1) Block configuration
Fig 23-11 Block Configuration of Flash Memory (TMPM380FY)
User Boot Mode
0x0003_FFFF
0x0003_0000
0x0002_0000
0x0001_0000
0x0001_8000
0x0000_4000
0x0000_0000
Writes data automatically per page.
Erases the entire area of the flash memory automatically.
Erases a selected block automatically.
By writing a 4-bit protection code, the write or erase function can be individually inhibited for
each block.
Table 23-12 Flash Memory Functions
Single Boot Mode
TMPM380/M382 - 36 / 54 -
0x3F83_FFFF
0x3F83_0000
0x3F82_0000
0x3F81_0000
0x3F80_8000
0x3F80_4000
0x3F80_0000
64K bytes (BLOCK0)
64K bytes (BLOCK1)
64K bytes (BLOCK2)
32K bytes (BLOCK3)
16K bytes (BLOCK5)
16K bytes (BLOCK4)
Description
Page Configuration
64 words x 256
64 words x 256
64 words x 64
64 words x 64
64 words x 256
64 words x 128
TMPM380/M382

Related parts for TMPM382FSFG