CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U13850EJ6V0UD
388
10.4.13 Cautions
(a) When STCENn of IICFn register = 0
Immediately after the I
2
C operation is enabled, the communication status (IICBSYn of IICFn register = 1) is
recognized regardless of the actual bus status. To perform master communication in the status in which the
stop condition is not detected, first generate a stop condition to release the bus and then perform master
communication.
Use the following sequence for generating a stop condition.
<1> Set IIC clock selection register n (IICCLn)
<2> Set the IICEn bit of IIC control register n (IICCn)
<3> Set the SPTn bit of the IICCn register
(b) When STCENn of IICFn register = 1
Immediately after the I
2
C operation is enabled, the bus released status (IICBSYn = 0) is recognized
regardless of the actual bus status. To issue the first start condition (STTn of IICCn register = 1), check that
the bus is released in order to prevent disturbing other communications.
Remark
n = 0, 1
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...