NEC 78014Y Series User Manual page 438

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(d) Automatic transmission/reception suspending and restart
Automatic transmission/reception can be temporarily suspended by setting bit 7 (CSIE1) of the serial
operating mode register 1 (CSIM1) to 0.
During 8-bit data transfer, the transmission/reception is not suspended. It is suspended upon completion
of 8-bit data transfer.
When suspended, bit 3 (TRF) of the automatic data transmit/receive control register (ADTC) is set to 0 after
transfer of the 8th bit, and all the port pins used with the serial interface pins for dual function (P20/SI1, P21/
SO1, P22/SCK1, P23/STB and P24/BUSY) are set to the port mode.
Automatic transmission/reception can be restarted and the remaining data can be transferred by setting
CSIE1 to 1 and writing any data to the serial I/O shift register 1 (SIO1).
Cautions 1. If the HALT instruction is executed during automatic transmission/reception, transfer
Figure 17-16. Automatic Transmission/Reception Suspension and Restart
CSIE1 = 0 (Suspended Command)
SCK1
www.DataSheet4U.com
SO1
SI1
CSIE1: Bit 7 of the serial operating mode register 1 (CSIM1)
438
CHAPTER 17 SERIAL INTERFACE CHANNEL 1
is suspended and the HALT mode is set even during 8-bit data transfer. When the
HALT mode is cleared, automatic transmission/reception is restarted at the suspended
point.
2. When the automatic transmit/receive operation is suspended, do not change the
operation mode to the 3-wire serial I/O mode while TRF = 1.
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
Suspend
Restart Command
CSIE1 = 1, Write to SIO1
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0

Advertisement

Table of Contents
loading

Table of Contents