![](http://datasheet.mmic.net.cn/390000/TC9324F_datasheet_16837284/TC9324F_79.png)
TC9324F
2002-02-08
79
Acknowledge
detection
(Timing C)
Software is used to control the acknowledge detection and output. On completion of a serial operation, ENA
=
1, SCK3/SCK4
=
0, the SCK4 pin is automatically set to L, and clock output from other devices is prohibited.
This state allows the necessary processing, such as reading serial input data and setting the next data.
When that processing is complete, set the necessary conditions, then set the STA bit to 1.
Next, if the TC9324F is the master, generate an acknowledge clock by software control. Use software control
to set the following:
Acknowledge output: SO3/SO4
=
0, SCK3/SCK4
=
0 (
φ
L14P3
←
CH)
→
SCK3/SCK4
=
1 (
φ
L14P3
←
EH)
→
SCK3/SCK4
=
0 (
φ
L14P3
←
CH)
Acknowledge input: SO3/SO4
=
1, SCK3/SCK4
=
0 (
φ
L14P3
←
DH)
→
SCK3/SCK4
=
1 (
φ
L14P3
←
FH)
→
SCK3/SCK4
=
0 (
φ
L14P3
←
DH)
These states are read to the ACK bit on the rising edge of the SCL pin clock.
If the TC9324F is the slave, set the following for during a clock wait state set by completion of a serial
operation:
Acknowledge output: SO3/SO4
=
0, SCK3/SCK4
=
1 (
φ
L14P3
←
EH)
Acknowledge input: SO3/SO4
=
1, SCK3/SCK4
=
1 (
φ
L14P3
←
FH)
These states are read to the ACK bit on the rising edge of the SCL pin clock.
On the falling edge of the acknowledge clock, the serial operation start (STA
=
1) set prior to the reading of the
acknowledge is validated and the serial operation commences.
Stop condition
(Timing D)
If the TC9324F is the master, set the output of the stop conditions by software control. If the slave, set the stop
conditions, then set to wait state.
Set the following software control when the TC9324F is the master: SO3/SO4, SCK3/SCK4 bits
=
0 (
φ
L14P3
←
CH), SCK3/SCK4 bits
=
1 (
φ
L14P3
←
EH), then set the SO3/SO4 bits to 1 (
φ
L14P3
←
FH).
If TC9324F is the slave, the following flags detect the stop condition and terminate the operation. When the
stop condition is detected, the flags are:
STP F/F
=
1: Set to 1 by stop condition. Detects completion of 2-line serial operations.
BUSY4
=
0: Reset to 0 by stop condition. 2-line serial operation complete.
If completion is detected, the start of serial operations must be forcibly prevented. To do this, set the STP bit to
1 beforehand to terminate the operation.