Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1072 of 1852
Nov 30, 2020
RX23W Group 33. Serial Communications Interface (SCIg, SCIh)
33.7.2 Clock Synchronization
The SSCLn line may be placed at the low level in the case of a wait inserted by a slave device as the other side of
transfer. Setting the SIMR2.IICCSC bit to 1 applies control to obtain synchronization when the levels of the internal
SSCLn clock signal and the level being input on the SSCLn pin differ.
When the SIMR2.IICCSC bit is set to 1, the level of the internal SSCLn clock signal changes from low to high, counting
to determine the period at high level is stopped while the low level is being input on the SSCLn pin, and counting to
determine the period at high level starts after the transition of the input on the SSCLn pin to the high level. The interval
from this time until counting to determine the period at high level starts on the transition of the SSCLn pin to the high
level is the total of the delay of SSCLn output, delay for noise filtering of the input on the SSCLn pin (2 or 3 cycles of
sampling clock for the noise filter), and delay for internal processing (1 or 2 cycles of PCLK). The period at high level of
the internal SSCLn clock is extended even if other devices are not placing the low level on the SSCLn line. If the
SIMR2.IICCSC bit is 1, synchronization is obtained for the transmission and reception of data by taking the logical AND
of the input on the SSCLn pin and the internal SSCLn clock. If the SIMR2.IICCSC bit is 0, synchronization with the
internal SSCLn clock is obtained for the transmission and reception of data.
If a slave device inserts a period of waiting into the interval until the transition of the internal SSCLn clock signal from
the low to the high level after a request for the generation of a start, restart, or stop condition is issued, the time until
generation is prolonged by that period.
If a slave device inserts a period of waiting after the transition of the internal SSCLn clock signal from the low to the
high level, although the generation-completed interrupt is issued without stopping the period of waiting, generation of
the condition itself is not guaranteed.
Figure 33.49 shows an example of operations to synchronize the clocks.
Figure 33.49 Example of Operations for Clock Synchronization
SSCLn output from the
other device
SSCLn line
Internal SSCLn clock
Counting is stopped while the
SSCLn line is at the low level.
Counting of the period
at high level starts.
Clock driving transfer
internally
Counting of the period
at high level starts.
Counting is stopped until the SSCLn
line being at the high level is
conveyed within the SCI.
Counting of the period
at low level starts.