BAT32G1x9 user manual | Chapter 20 Serial interface IICA
741 / 1149
Rev.1.02
Figure 20-6
Format of IICA control register n0 (IICCTLn0) (4/4).
SPTn
Note
The trigger of the stop condition
0
No stop conditions are generated.
1
Generate a stop condition (end of transfer as master).
Notes on position timing:
• Master Receive: Disables this position "1" during transmission. This position "1" can only be placed during the
waiting period when ACKEn is at position "0" and notifying the slave that receiving it has completed.
•Master Send: During the Ack, the stop condition may not be generated properly. This position "1" must be placed
during the wait period after the 9th clock is output.
• Prohibits placing a "1" simultaneously with the trigger of the start condition (STTn).
• SPTn can only be placed in the case of the master device "1".
• When the WTIMn bit is "0", it must be noted that if the SPTn position "1" is placed during the wait after 8 clocks are
output, it is the 9th after the wait is lifted Stop conditions are generated during high levels of clocks. The WTIMn bit
must be set from "0" to "1" during the wait period after the output of 8 clocks and during the wait period after the
output of the 9th clock SPTn position "1".
•After placing the SPTn position "1", it is forbidden to place this position "1" again until the purge condition is met.
Purge condition (SPTn=0,1).
Position condition (SPTn=1).
• When arbitration fails
•Clear automatically when a stop condition is detected.
• Cleared because the LRELn bit is "1" (Exit Communication).
• When the IICEn bit is "0" (stop running).
• When resetting
• Set by command.
Note: The read value for the
SPTn
bit is always
"0".
Note: When
bit3
(TRCn) of
IICA
status register
n
(IICSn) is
"1"
(transmit state), if at
9 Clocks
set
bit5
(WRELn)
of
the
IICCTLn0
register
to
"1"
to relieve the wait, clearing the
TRCn The bit (receive state) sets the
SDAAn
line to high
impedance.
Waiting for the
TRCn
bit of
"1"
(send state) must be
released
by writing
the IICA
shift register
n.
Note: n=0,1