566
Chapter 17
Clocked Serial Interface (CSIB)
Preliminary User’s Manual U17566EE1V2UM00
(3)
Single transmission/reception
Note
1.
Set the CBnSCE bit to 1 in the initial setting.
2.
If the next transfer is reception only, dummy data is written to the CBnTX
register.
Caution
Even in the single mode, the CBnSTR.CBnOVE flag is set to 1. If only
transmission is used in the transmission/reception mode, therefore,
programming without checking the CBnOVE flag is recommended.
S
TART
Initi
a
l
s
etting (CBnCTL0
Note 1
,
CBnCTL1 regi
s
ter
s
, etc.)
Write CBnTX regi
s
ter
(
s
t
a
rt tr
a
n
s
fer).
END
CBnPWR
b
it = 0,
CBnTXE
b
it = CBnRXE
b
it = 0
(CBnCTL0)
No
Tr
a
n
s
mi
ss
ion/reception
Tr
a
n
s
mi
ss
ion
Reception
INTCBnR
b
it = 1?
Ye
s
Tr
a
n
s
fer end?
Write CBnTX regi
s
ter
Note 2
.
Re
a
d CBnRX regi
s
ter.
Re
a
d CBnRX regi
s
ter.
No
Ye
s
Tr
a
n
s
fer end?
Write CBnTX regi
s
ter
Note 2
.
No
Ye
s
Tr
a
n
s
fer end?
Write CBnTX regi
s
ter
Note 2
.
No
Ye
s
B
B
A
A
electronic components distributor