tmp89fm42a TOSHIBA Semiconductor CORPORATION, tmp89fm42a Datasheet - Page 311

no-image

tmp89fm42a

Manufacturer Part Number
tmp89fm42a
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fm42aUG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
18.5
Data Transfer of I
RA002
SCL0 pin
SDA0 pin
SBI0CR2<PIN>
INTSBI0 Interrupt
request
SCL0 pin
SDA0 pin
SBI0CR2<PIN>
INTSBI0 Interrupt request
Figure 18-18 Example when SBI0CR1<BC>="000" and SBI0CR1<ACK>="1"
Figure 18-19 Example when SBI0CR1<BC>="000" and SBI0CR1<ACK>="1"
2
C Bus
Write to SBI0DBR
(2)
9
SBI0CR1< ACK> to "1" and read the received data from the SBI0DBR (Reading data is undefined
immediately after a slave address is sent).
SBI0DBR. The serial bus interface circuit outputs a serial clock pulse to the SCL0 pin to transfer the
subsequent 1-word data and sets the SDA0 pin to "0" at the acknowledge signal timing.
outputs a clock pulse for 1-word data transfer and the acknowledge signal by writing data to the
SBI0DBR or setting SBI0CR2<PIN> to "1" after reading the received data.
data.
SBI0CR2<PIN> to "1". Next, execute following procedure.
When the data to be transmitted subsequently is other than 8 bits, set SBI0CR1<BC> again. Set
After the data is read, SBI0CR2<PIN> becomes "1" by writing the dummy data (0x00) to the
An interrupt request occurs and SBI0CR2<PIN> becomes "0". Then a serial bus interface circuit
To make the transmitter terminate transmission, execute following procedure before receiving a last
Transfer 1-word data in which no clock is generated for an acknowledge signal by setting
When SBI0SR2<TRX> is "0" (Receiver mode)
1. Read the received data.
2. Clear SBI0CR1<ACK> to "0" and set SBI0CR1<BC> to "000".
3. To set SBI0CR2<PIN> to "1", write a dummy data (0x00) to SBI0DBR.
1. Read the received data.
2. Clear SBI0CR1<ACK> to "0" and set SBI0CR1<BC> to "001".
D7
1
Read SBI0DBR
Write to SBI0DBR
D7
1
D6
2
D6
2
D5
3
D5
3
D4
4
Page 292
D4
4
D3
5
D3
5
D2
6
D2
6
D1
7
D1
7
D0
8
D0
8
9
Acknowledge signal
from the receiver
New D7
9
Acknowledge signal
to the transmitter
TMP89FM42A

Related parts for tmp89fm42a