Download Print this page

Renesas M16C/50 Series User Manual page 570

Advertisement

M16C/5L Group, M16C/56 Group
22.3.7
Detecting Start/Stop Conditions
Figure 22.13 shows Start Condition Detection, Figure 22.14 shows Stop Condition Detection, and Table
22.13 lists Conditions to Detect Start/Stop Condition.
A start/stop condition can be detected only when the start/stop condition detect parameters are
selected by setting bits SSC4 to SSC0 in the S2D0 register, and the signals input to pins SCLMM and
SDAMM meet all three conditions (SCLMM release time, setup time, and hold time) listed in Table
22.13.
The BB bit in the S10 register becomes 1 when a start condition is detected, and becomes 0 when a
stop condition is detected. The set timing and reset timing of the BB bit depends on whether the mode
is standard mode or fast-mode. Refer to the BB bit set/reset times in Table 22.14.
Table 22.14 lists the Recommended Values of Bits SSC4 to SSC0 in Standard Clock Mode.
BB bit in the S10 register
TRX bit in the S10 register
Bits BC2 to BC0 in the S1D0 register
Figure 22.13 Start Condition Detection
BB bit in the S10 register
TRX bit in the S10 register
MST bit in the S10 register
Bits BC2 to BC0 in the S1D0 register
Figure 22.14 Stop Condition Detection
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
SCLMM
SDAMM
Setup
SCLMM
SDAMM
Setup
22. Multi-master I
SCLMM open
Hold
Setting BB bit
SCLMM open
Hold
Resetting BB bit
0.5 fVIIC cycles
2
C-bus Interface
(In slave mode)
000b
000b
Page 533 of 803

Advertisement

loading