Section 26 I
2
C Bus Interface (IIC)
Rev. 1.00 Oct. 01, 2007 Page 1052 of 1956
REJ09B0256-0100
26.4.9 Master
Receive
Operation
The data receive procedure and operation in master receive mode are described below. Figure
26.10 shows the timing chart in master receive mode. Setting the MDBS bit in the master control
register allows the IIC to operate in single-buffer mode.
1. In master receive mode, as to transmit of a slave address and a 1-bit signal indicating the data
transfer direction, operation is the same as that in master transmit mode. At this time, set the
data transfer direction to 1 (reception).
2. The slave device automatically enters the data transmit mode according to the signal that
indicates the data transfer direction, and transmits 1-byte data in synchronization with the SCL
clock output from the master device. The master device generates an interrupt of MDR (bit 1)
at the eighth clock (at the timing of (2) in figure 11). Clear the MDR bit after the master device
reads receive data. If this processing is delayed, the slave device extends the SCL period to
suspend data transmission, as shown at the timing of (3) in figure 26.10.
3. The slave device generates an interrupt of the status SDT (bit 2) indicating 1-byte data transfer
end at the eighth clock (at the timing of (2) in figure 26.10) and an interrupt of the status SDE
(bit 3) indicating data empty at the ninth clock (at the timing of (1) in figure 26.10). Clear SDE
after writing slave transmit data to TXD.
4. To end data transfer, set FSB (bit 1) in the master control register of the master device and
output suspend condition. After the IIC module fetches FSB on completion of transmission or
reception of the last of byte data, it enters the stop state. . Therefore in order to stop the
communication after predetermined number of byte data is transferred, FSB bit needs to be set
before the last byte data transfer is started. After confirmation of the last byte data reception,
though the master receiver finishes the receive transaction, the protocol layer will inform the
slave transmitter or retransmission if the last byte is incorrect.
Signal level changes of (1) to (3) in figure 26.10 are generated after the falling edge of the clock.
Summary of Contents for SH7763
Page 2: ...Rev 1 00 Oct 01 2007 Page ii of lxvi ...
Page 122: ...Section 2 Programming Model Rev 1 00 Oct 01 2007 Page 56 of 1956 REJ09B0256 0100 ...
Page 144: ...Section 3 Instruction Set Rev 1 00 Oct 01 2007 Page 78 of 1956 REJ09B0256 0100 ...
Page 170: ...Section 4 Pipelining Rev 1 00 Oct 01 2007 Page 104 of 1956 REJ09B0256 0100 ...
Page 282: ...Section 7 Caches Rev 1 00 Oct 01 2007 Page 216 of 1956 REJ09B0256 0100 ...
Page 378: ...Section 9 Interrupt Controller INTC Rev 1 00 Oct 01 2007 Page 312 of 1956 REJ09B0256 0100 ...
Page 514: ...Section 12 DDR SDRAM Interface DDRIF Rev 1 00 Oct 01 2007 Page 448 of 1956 REJ09B0256 0100 ...
Page 630: ...Section 13 PCI Controller PCIC Rev 1 00 Oct 01 2007 Page 564 of 1956 REJ09B0256 0100 ...
Page 710: ...Section 16 Clock Pulse Generator CPG Rev 1 00 Oct 01 2007 Page 644 of 1956 REJ09B0256 0100 ...
Page 732: ...Section 17 Watchdog Timer and Reset WDT Rev 1 00 Oct 01 2007 Page 666 of 1956 REJ09B0256 0100 ...
Page 752: ...Section 18 Power Down Mode Rev 1 00 Oct 01 2007 Page 686 of 1956 REJ09B0256 0100 ...
Page 772: ...Section 19 Timer Unit TMU Rev 1 00 Oct 01 2007 Page 706 of 1956 REJ09B0256 0100 ...
Page 824: ...Section 21 Compare Match Timer CMT Rev 1 00 Oct 01 2007 Page 758 of 1956 REJ09B0256 0100 ...
Page 1124: ...Section 26 I 2 C Bus Interface IIC Rev 1 00 Oct 01 2007 Page 1058 of 1956 REJ09B0256 0100 ...
Page 1350: ...Section 30 SIM Card Module SIM Rev 1 00 Oct 01 2007 Page 1284 of 1956 REJ09B0256 0100 ...
Page 1484: ...Section 33 Audio Codec Interface HAC Rev 1 00 Oct 01 2007 Page 1418 of 1956 REJ09B0256 0100 ...
Page 1560: ...Section 35 USB Host Controller USBH Rev 1 00 Oct 01 2007 Page 1494 of 1956 REJ09B0256 0100 ...
Page 1720: ...Section 37 LCD Controller LCDC Rev 1 00 Oct 01 2007 Page 1654 of 1956 REJ09B0256 0100 ...
Page 2025: ......
Page 2026: ...SH7763 Hardware Manual ...