SCLx pin
SDAx pin
<PIN>
D7
D6
2
3
4
5
6
7
8
9
D5
D4
D3
D2
D1
D0
ACK
1
Acknowledgement
from receiver
Master output
Slave output
INTSBI
interrupt request
W
r
ite to SBIDBR
Figure 13-10 <BC[2:0]>= "000",<ACK>= "1" (Transmitter Mode)
(2)
Receiver mode (<TRX> = "0")
If the next data to be transmitted has eight bits, the transmit data is written into SBIDBR.
If the data has different length, <BC[2:0]> and <ACK> are programmed and the received data is
read from SBIDBR to release the SCL line. (The data read immediately after transmission of a
slave address is undefined.)On reading the data, <PIN> is set to "1", and the serial clock is output
to the SCL pin to transfer the next data word.In the last bit, when the acknowledgment signal be-
comes the "Low" level, "0" is output to the SDA pin.
After that, the INTSBI interrupt request is generated, and <PIN> is cleared to "0", pulling the
SCL pin to the "Low" level.Each time the received data is read from SBIDBR, one-word transfer
clock and an acknowledgement signal are output.
Read the received data
<PIN>
Acknowledgment signal
to transmitter
Master output
Slave output
D7
D6
2
3
4
5
6
7
8
9
D5
D4
D3
D2
D1
ACK
Next D7
D0
1
SCL pin
INTSBIinterrupt
request
SDA pin
Figure 13-11 <BC[2:0]>= "000",<ACK>= "1" (Receiver Mode)
To terminate the data transmission from the transmitter, <ACK> must be cleared to "0" immediate-
ly before reading the data word second to last.
This disables generation of an acknowledgment clock for the last data word.
When the transfer is completed, an interrupt request is generated. After the interrupt processing,
<BC[2:0]> must be set to "001" and the data must be read so that a clock is generated for 1-bit transfer.
At this time, the master receiver holds the SDA bus line at the "High" level, which signals the
end of transfer to the transmitter as an acknowledgment signal.
TMPM3V6/M3V4
13. Serial Bus Interface (I2C/SIO)
13.6 Data Transfer Procedure in the I2C Bus Mode
Page 290
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......