TMPM380FYDFG Toshiba, TMPM380FYDFG Datasheet - Page 588

no-image

TMPM380FYDFG

Manufacturer Part Number
TMPM380FYDFG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMPM380FYDFG

Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
256K
Rom Type
Flash
Ram (kbytes)
16K
Number Of Pins
100
Package
QFP(14×20)
Vcc
5V
Cpu Mhz
40
Ssp (ch) Spi
2
I2c/sio (ch)
2
Uart/sio (ch)
5
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
18
16-bit Timer / Counter
8
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
12. The 27th to mth bytes from the controller are stored in the on-chip RAM of the
13. The (m+1) th byte is a checksum value. To calculate the checksum value, add the 27th
14. The (m+2) th byte is a acknowledge response to the 27th to (m+1) th bytes.
15. If the (m+2) th byte was a normal acknowledge response, a branch is made to the
Next, the RAM Transfer routine performs the checksum operation to ensure data
integrity. Adding the series of the 19th to 25th bytes must result in 00H (with the carry
dropped). If it is not 00H, one or more bytes of data has been corrupted. In case of a
checksum error, the RAM Transfer routine sends back 0x11 to the controller and
returns to the state in which it waits for a command (i.e., the 3rd byte) again.
TMPM380/382. Storage begins at the address specified by the 19th–22nd bytes and
continues for the number of bytes specified by the 23rd–24th bytes.
to mth bytes together, drop the carries and take the two’s complement of the total sum.
Transmit this checksum value from the controller to the target board. The checksum
calculation is described in details in a later section “Checksum Calculation”.
If there was a receive error, the RAM Transfer routine sends back 18H (bit 3) and
returns to the state in which it waits for a command (i.e., the 3rd byte) again. In this
case, the upper four bits of the acknowledge response are the same as those of the
previously issued command (i.e., all 1s). When the SIO0 is configured for I/O Interface
mode, the RAM Transfer routine does not check for a receive error.
Next, the RAM Transfer routine performs the checksum operation to ensure data
integrity. Adding the series of the 27th to (m+1) th bytes must result in 0x00 (with the
carry dropped). If it is not 0x00, one or more bytes of data has been corrupted. In case
of a checksum error, the RAM Transfer routine sends back 0x11 (bit 0) to the controller
and returns to the command wait state (i.e., the 3rd byte) again. When the above
checks have been successful, the RAM Transfer routine returns a normal
acknowledge response (0x10) to the controller.
• The RAM storage start address must be within the range of 0x2000_0400 to the
When the above checks have been successful, the RAM Transfer routine returns a
normal acknowledge response (0x10) to the controller.
First, the RAM Transfer routine checks for a receive error in the 27th to (m+1) th bytes.
address specified by the 19th to 22nd bytes.
end address of RAM.
TMPM380/M382 - 27 / 54 -
TMPM380/M382

Related parts for TMPM380FYDFG