BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
725 / 1149
Rev.1.02
19.9.4
Stop conditions generation
After all data has been sent and received with the object slave, a stop condition is generated and the bus
is released.
(1) Process flow
Figure 19-127: A timing diagram of the generation stop condition
STmn
SEmn
SOEmn
note
SCLr output
SDAr
output
stop
operating
SOmn
bit operation
CKOmn
bit operation
SOmn
bit operation
stop condition
Note That at the time of reception, the serial output enable register m
(SOEm) of the
SOEmn
position
"0"
before receiving
the last data.
Fig. 19-128 Flowchart of generating a stop condition
stop condition generation starts
Write 1 to
STmn bit (SEmn=0)
Write 0 to SOEmn bit
Write 0 to SOmn bit
Write 1 to CKOmn bit
wait
Write 1 to SOmn bit
IIC communication completes.
operation stop state (can operate
CKOmn bit)
to compliant to I
2
C bus standard,
ensure wait time.
data transmission completes/data
reception completes.
output disable state (can operate
SOmn bit)
timing sequence must compliant
to I
2
C bus SCL low voltage width
standard.