NEC V850ES/F 3-L Series User Manual page 443

32-bit single-chip microcontroller
Table of Contents

Advertisement

Clocked Serial Interface (CSIB)
Note
(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 supply of the CSIBn operation.
(5) Write the transfer data to the CBnTX register.
(6) The transmission enable interrupt request signal (INTCBnT) is received
and the transfer data is written to the CBnTX register.
(7) The reception complete interrupt request signal (INTCBnR) is output.
Read the CBnRX register.
(8) Check that the CBnSTR.CBnTSF bit = 0 and set the CBnPWR bit to 0 to
stop the operation of CSIBn (end of transmission/reception).
To continue transfer, repeat steps (5) to (7) before (8).
In order to start the entire data transfer the CBnTX register has to be written
initially, as done in step (5) above. If this step is omitted also no data will be
received.
User's Manual U18743EE1V2UM00
Chapter 16
443

Advertisement

Table of Contents
loading

Table of Contents