Renesas RL78 Series User Manual page 617

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
The meanings of <7> to <15> in (c) Data ~ data ~ stop condition in Figure 14-32 are explained below.
<7> After data transfer is completed, because of ACKEn = 1, the slave device sends an ACK by hardware to the
master device. The ACK is detected by the master device (ACKDn = 1) at the rising edge of the 9th clock.
<8> The master device and slave device set a wait status (SCLAn = 0) at the falling edge of the 9th clock, and both
the master device and slave device issue an interrupt (INTIICAn: end of transfer).
<9> The master device writes the data to transmit to the IICA shift register n (IICAn) and releases the wait status
that it set by the master device.
<10> The slave device reads the received data and releases the wait status (WRELn = 1). The master device then
starts transferring data to the slave device.
<11> When data transfer is complete, the slave device (ACKEn =1) sends an ACK by hardware to the master device.
The ACK is detected by the master device (ACKDn = 1) at the rising edge of the 9th clock.
<12> The master device and slave device set a wait status (SCLAn = 0) at the falling edge of the 9th clock, and both
the master device and slave device issue an interrupt (INTIICAn: end of transfer).
<13> The slave device reads the received data and releases the wait status (WRELn = 1).
<14> By the master device setting a stop condition trigger (SPTn = 1), the bus data line is cleared (SDAAn = 0) and
the bus clock line is set (SCLAn = 1). After the stop condition setup time has elapsed, by setting the bus data
line (SDAAn = 1), the stop condition is then generated (i.e. SCLAn =1 changes SDAAn from 0 to 1).
<15> When a stop condition is generated, the slave device detects the stop condition and issues an interrupt
(INTIICAn: stop condition).
Remarks 1.
<1> to <15> in Figure 14-32 represent the entire procedure for communicating data using the I
bus.
Figure 14-32 (a) Start condition ~ address ~ data shows the processing from <1> to <6>, Figure 14-
32 (b) Address ~ data ~ data shows the processing from <3> to <10>, and Figure 14-32 (c) Data ~
data ~ stop condition shows the processing from <7> to <15>.
2.
n = 0
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
CHAPTER 14 SERIAL INTERFACE IICA
2
C
596

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents