TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 447

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
Internal SDA output (master B)
Internal SDA output (masterA)
15 Serial Bus Interface (I2C/SIO)
15.5.8 Interrupt Service Request and Release
15.5.9 Serial Bus Interface Operating Modes
15.5.10 Lost-arbitration Detection Monitor
SCL (line)
SDA line
When a serial bus interface interrupt request (INTSBIn) is generated, SBInCR2 <PIN> is
cleared to “0.” While <PIN> is “0,” the SBI pulls the SCL line to the “L” level.
After transmission or reception of one data word, <PIN> is cleared to “0.” It is set to “1”
when data is written to or read from SBInDBR. It takes a period of t
released after <PIN> is set to “1.”
In the address recognition mode (<ALS> = “0”), <PIN> is cleared to “0” when the received
slave address matches the value specified at SBInI2CAR or when a general-call address is
received; i.e., the eight bits following the start condition are all zeros. When the program
writes “1” to SBInCR2<PIN>, it is set to “1.” However, writing “0” does clear this bit to “0”.
SBInCR2 <SBIM1:0> selects an operating mode of the serial bus interface. <SBIM1:0>
must be set to “10” to configure the SBI for the I
before switching the operating mode to the port mode.
The I
requires the bus arbitration procedure to ensure correct data transfer.
A master that attempts to generate the start condition while the bus is busy loses bus
arbitration, with no start condition occurring on the SDA and SCL lines. The I
arbitration takes place on the SDA line.
The arbitration procedure for two masters on a bus is shown below. Up until the point a,
Master A and Master B output the same data. At the point a, Master A outputs the “L” level
and Master B outputs the “H” level. Then Master A pulls the SDA bus line to the “L” level
because the line has the wired-AND connection. When the SCL line goes high at the point
b, the slave device reads the SDA line data, i.e., data transmitted by Master A. At this time,
data transmitted by Master B becomes invalid. This condition of Master B is called “Lost
Arbitration”. Master B releases its SDA pin, so that it does not affect the data transfer
initiated by another master. If two or more masters have transmitted exactly the same first
data word, the arbitration procedure continues with the second data word.
2
C bus has the multi-master capability (there are two or more masters on a bus), and
TMPM380/M382 - 18 / 41 -
Fig 15-12 Lost Arbitration
a
b
2
C bus mode. Make sure that the bus is free
Loses arbitration and sets the
internal SDA output to "1”.
LOW
for the SCL line to be
TMPM380/M382
2
C-bus

Related parts for TMPM382FSFG