BAT32G1x9 user manual | Chapter 20 Serial interface IICA
782 / 1149
Rev.1.02
(1) The master runs
(a)
Start~Address~Data~Data~Stop
(i)
In the case of WTIMn=0,1
ST AD6~AD0
R/W
ACK
D7~D0
ACK
D7~D0
ACK
SP
1
2
3
4
5
1:IICSn=1000X110B
2:IICSn=1000X000B
3:IICSn=1000X000B(set WTIMn bit to
Note
4:IICSn=1000XX00B(set SPTn bit to
1
)
5:IICSn=00000001B
Note: to generate stop condition, must set WTIMn bit to '1' and modify INTIICAn interrupt requet signal generation timing sequenc e.
Remark
must generate
only generate while SPIEn bit is '1'
any
X
SPTn=1
(ii)
In the case of WTIMn=1
ST AD6~AD0 R/W ACK
D7~D0
ACK
D7~D0
ACK
SP
1
2
3
4
1:IICSn=1000X110B
2:IICSn=1000X100B
3:IICSn=1000XX00B
(set SPTn bit to
1
)
4:IICSn=00000001B
SPTn=1
Remark
must generate
only generate while SPIEn bit is '1'
any
X
Note: n=0,1