557
Clocked Serial Interface (CSIB)
Chapter 17
Preliminary User’s Manual U17566EE1V2UM00
(8) Check that the CBnSTR.CBnTSF bit = 0 and set the CBnPWR bit to 0 to
stop the operation of CSIBn (end of reception).
To continue transfer, repeat steps (5) and (6) before (7).
17.4.5
Continuous reception mode (error)
MSB first (CBnCTL0.CBnDIR bit = 0), communication type 2 (see 16.4 (2)
CSIBn control register 1 (CBnCTL1)), transfer data length = 8 bits
(CBnCTL2.CBnCL3 to CBnCTL2.CBnCL0 bits = 0, 0, 0, 0)
(1) Clear the CBnCTL0.CBnPWR bit to 0.
(2) Set the CBnCTL1 and CBnCTL2 registers to specify the transfer mode.
(3) Set the CBnCTL0.CBnRXE bit to 1 at the same time as specifying the
transfer mode using the CBnDIR bit, to set the reception enabled status.
(4) Set the CBnPWR bit = 1 to enable CSIBn operation.
(5) Perform a dummy read of the CBnRX register (reception start trigger).
(6) The reception complete interrupt request signal (INTCBnR) is output.
(7) If the data could not be read before the end of the next transfer, the
CBnSTR.CBnOVE flag is set to 1 upon the end of reception and the
reception error interrupt INTCBnRE is output.
(8) Overrun error processing is performed after checking that the
CBnOVE bit = 1 in the INTCBnRE interrupt servicing.
(9) Clear CBnOVE bit to 0.
(10)Check that the CBnSTR.CBnTSF bit = 0 and set the CBnPWR bit to 0 to
stop the operation CSIBn (end of reception).
(
8
) (9) (10)
(7)
(6)
(5)
AAH
00H
00H
1
0
0
0
0
0
0
1
1
1
1
1
S
CKBn
S
IBn
INTCBnR
CBnOVE
55H
55H
0
1
0
AAH
1
(1)
(2)
(
3
)
(4)
S
OBn
L
INTCBnRE
CBnT
S
F
S
hift regi
s
ter
CBnRX
electronic components distributor