tmp88cu74 TOSHIBA Semiconductor CORPORATION, tmp88cu74 Datasheet - Page 92

no-image

tmp88cu74

Manufacturer Part Number
tmp88cu74
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
INTSBI
interrupt request
INTSBI
interrupt request
SCL pin
SDA pin
SCL pin
SDA pin
(3) 1-word data transfer
PIN
PIN
completed, and determine whether the mode is a master or slave.
a.
1.
2.
Check the MST by the INTSBI interrupt process after a 1-word data transfer is
When the MST is “1” (Master mode)
When the TRX is “1” (Transmitter mode)
Implement the process to generate a stop condition and terminate data transfer.
transmitted data is other than 8 bits, set the BC and write the transmitted data to
the SBIDBR after setting ACK to “1”. After writing the data, the PIN becomes “1”,
a serial clock pulse is generated for transferring a new 1-word of data from the
SCL pin, and then the 1-word data is transmitted. After the data is transmitted,
an INTSBI interrupt request occurs. The PIN becomes “0” and the SCL pin is
pulled down to the low level. If the data to be transferred is more than one word in
length, repeat the procedure from the LRB checking above.
When the TRX is “0” (Receiver mode)
ACK to “1” and read the received data from the SBIDBR (data which is read
immediately after a slave address is sent is undefined). After the data is read, the
PIN becomes “1”. The TMP88CU74 outputs a serial clock pulse to the SCL to
transfer new 1-word of data and sets the SDA pin to “0” at the acknowledge signal
timing.
outputs a clock pulse for 1-word of data transfer and the acknowledge signal each
time that received data is read from the SBIDBR.
Check the TRX and determine whether the mode is a transmitter or receiver.
Check the LRB. When the LRB is “1”, a receiver does not request data.
When the LRB is “0”, the receiver requests new data. When the next
When the next transmitted data is other than 8 bits, set the BC again. Set the
An INTSBI interrupt request occurs and the PIN becomes “0”. The TMP88CU74
Write to SBIDBR
Figure 2.10.12 Example when BC = “000”, ACK = “1”
Figure 2.10.13 Example when BC = “000”, ACK = “1”
D7
D7
Read SBIDBR
1
1
D6
D6
2
2
D5
D5
3
3
88CU74-92
D4
D4
4
4
D3
D3
5
5
D2
D2
6
6
D1
D1
7
7
D0
D0
8
8
9
9
Acknowledge signal
from a receiver
Acknowledge signal
to a transmitter
New D7
TMP88CU74
2007-10-19
2003-02-17

Related parts for tmp88cu74