![NEC V850/SC1 User Manual Download Page 365](http://html.mh-extra.com/html/nec/v850-sc1/v850-sc1_user-manual_248178365.webp)
CHAPTER 11 SERIAL INTERFACE FUNCTION
User’s Manual U15109EJ3V0UD
363
(b) Usage (transmission/reception)
<1> Set the repeat transfer mode (AUTOn bit of CSIMn register = 1) and the transmission/reception
mode (TRMDn bit of CSIMn register = 1)
<2> Write the first data to the SOTBFn register.
<3> Write the 2nd data to the SOTBn register (start transfer).
<4> Wait for a transmission/reception completion interrupt request (INTCSIn).
<5> When the transmission/reception completion interrupt request (INTCSIn) has been set (1), write the
next data to the SOTBn register (reserve next transfer), and read the SIRBn register to load the
receive data.
<6> Repeat steps <4> and <5> as long as data to be sent remains.
<7> Wait for the INTCSIn interrupt. When the interrupt request signal is set (1), read the SIRBn register
to load the (N
−
1)th receive data (N: Number of transfer data).
<8> Following the last transmission/reception completion interrupt request (INTCSIn), read the SIOn
register to load the Nth (last) receive data.