Renesas RL78 Series User Manual page 569

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

Advertisement

RL78/G1D
Master
IICAn
SCLAn
Slave
IICAn
SCLAn
ACKEn
Transfer lines
SCLAn
SDAAn
Remark
ACKEn:
WRELn:
A wait may be automatically generated depending on the setting of bit 3 (WTIMn) of IICA control register n0 (IICCTLn0).
Normally, the receiving side cancels the wait state when bit 5 (WRELn) of the IICCTLn0 register is set to 1 or when
FFH is written to the IICA shift register n (IICAn), and the transmitting side cancels the wait state when data is written to
the IICAn register.
The master device can also cancel the wait state via either of the following methods.
● By setting bit 1 (STTn) of the IICCTLn0 register to 1
● By setting bit 0 (SPTn) of the IICCTLn0 register to 1
Remark n = 0
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Figure 14-20. Wait (2/2)
(b) When master and slave devices both have a nine-clock wait
(master transmits, slave receives, and ACKEn = 1)
Master and slave both wait
after output of ninth clock
6
7
8
H
6
7
8
D2
D1
D0
ACK
Generate according to previously set ACKEn value
Bit 2 of IICA control register n0 (IICCTLn0)
Bit 5 of IICA control register n0 (IICCTLn0)
CHAPTER 14 SERIAL INTERFACE IICA
IICAn data write (cancel wait)
9
1
Wait from
master and
Wait from slave
slave
9
D7
2
3
FFH is written to IICAn or WRELn is set to 1
1
2
3
D6
D5
548

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents