TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 453

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
15 Serial Bus Interface (I2C/SIO)
SCL pin
Write to SBInDBR
SDA pin
<PIN>
INTSBIn interrupt
request
15.6.3 Transferring a Data Word
INTSBIn interrupt
At the end of a data word transfer, the INTSBIn interrupt is generated to test <MST> to
determine whether the SBI is in the master or slave mode.
if MST = 0
Then
if TRX = 0
Then
if LRB = 0
Then
End of interrupt processing
(Note)
SBInCR1 ← X X X X 0 X X X
SBInDBR ← X X X X X X X X
Fig 15-15 <BC2:0> = “000” and <ACK> = “1” (Transmitter Mode)
Master mode (<MST> = “1”)
Test <TRX> to determine whether the SBI is configured as a transmitter or a receiver.
Transmitter mode (<TRX> = “1”)
Test <LRB>. If <LRB> is “1,” that means the receiver requires no further data. The
master then generates the stop condition as described later to stop transmission.
If <LRB> is “0,” that means the receiver requires further data. If the next data to be
transmitted has eight bits, the data is written into SBInDBR. If the data has different
length, <BC2:0> and <ACK> are programmed and the transmit data is written into
SBInDBR. Writing the data makes <PIN> to”1,” causing the SCL pin to generate a
serial clock for transferring a next data word, and the SDA pin to transfer the data word.
After the transfer is completed, the INTSBIn interrupt request is generated, <PIN> is set
to “0,” and the SCL pin is pulled to the “L” level. To transmit more data words, test <LRB> again
and repeat the above procedure.
go to the slave-mode processing
go to the receiver-mode processing
go to processing for generating the stop condition
D7
X: Don’t care
1
D6
2
TMPM380/M382 - 24 / 41 -
D5
3
D4
4
Specifies the number of bits to be transmitted and specify
whether ACK is required.
Writes the transmit data.
D3
5
D2
6
D1
7
D0
8
ACK
TMPM380/M382
Master output
Slave output
9
Acknowledgment signal
from receiver

Related parts for TMPM382FSFG