Continuous Mode (Slave Mode, Reception Mode) - NEC V850ES/F 3-L Series User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

Clocked Serial Interface (CSIB)

16.4.7 Continuous mode (slave mode, reception mode)

SCKBn
SIBn
INTCBn R
CBn TSF
CBnSCE
Shift register
CBn RX
(1)
(2)
(3)
(4)
MSB first (CBnCTL0.CBnDIR bit = 0), communication type 1 (see 16.3 (2)
CBnCTL1 - CSIBn control register 1), transfer data length = 8 bits
(CBnCTL2.CBnCL3 to CBnCTL2.CBnCL0 bits = 0, 0, 0, 0)
0
1
0
1
(5)
(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 and CBnCTL0.CBnSCE bits 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.
Read the CBnRX register.
(7) 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).
User's Manual U18743EE1V2UM00
0
1
0
1
1
0
1
55H
55H
(6)
Chapter 16
0
1
0
1
0
AAH 00H
AAH
00H
(6)
(7)
445

Advertisement

Table of Contents
loading

Table of Contents