Operation; Single Transfer Mode (Master Mode, Transmission/Reception Mode) - NEC V850ES/F 3-L Series User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 16

16.4 Operation

16.4.1 Single transfer mode (master mode, transmission/reception
CBnTX write (55H)
SCKBn
CBnTX
Shift
register
CBnRX
Note
INTCBnR
CBnTSF
CBnSCE
SIBn
SOBn
436
mode)
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)
55H (transmit data)
ABH
1
0
0
1
(1)
(5)
(2)
(3)
(4)
(1) Clear the CBnCTL0.CBnPWR bit to 0.
(2) Set the CBnCTL1 and CBnCTL2 registers to specify the transfer mode.
(3) Set the CBnTXE, CBnRXE, and CBnSCE bits of the CBnCTL0 register to
1 at the same time as specifying the transfer mode using the CBnDIR bit,
to set the transmission/reception enabled status.
(4) Set the CBnPWR bit to 1 to enable the CSIBn operation.
(5) Write transfer data to the CBnTX register (transmission start).
(6) The reception complete interrupt request signal (INTCBnR) is output.
(7) Read the CBnRX register before clearing the CBnPWR bit to 0.
(8) Check that the CBnSTR.CBnTSF bit = 0 and set the CBnPWR bit to 0 to
stop operation of CSIBn (end of transmission/reception).
To continue transfer, repeat steps (5) to (7) before (8).
In transmission mode or transmission/reception mode, communication is not
started by reading the CBnRX register.
User's Manual U18743EE1V2UM00
56H
ADH
5AH
B5H
1
0
1
0
0
1
0
1
Clocked Serial Interface (CSIB)
CBnRX read (AAH)
6AH
D5H
AAH
00H
AAH
00H
1
0
(AAH)
0
1
(55H)
(6)
(7)
(8)

Advertisement

Table of Contents
loading

Table of Contents