NEC mPD780065 Series Preliminary User's Manual page 243

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(d) Automatic transmission/reception suspension and restart
Automatic transmission/reception can be temporarily suspended by setting bit 7 (CSIE10) of the serial
operating mode register 1 (CSIM1) to 0.
If, 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 (TRF0) of the automatic data transmit/receive control register (ADTC0) is set to
0 after transfer of the 8th bit, and all the port pins used with the serial interface pins for dual function (P84/
SI1, P83/SO1, P82/SCK1, P81/BUSY, and P80/STB) are set to the port mode.
During restart of transmission/reception, remaining data can be transferred by setting CSIE10 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 is suspended and the HALT mode is set even if 8-bit data transfer is in
progress.
2. When suspending automatic transmission/reception, do not change the operating
mode to 3-wire serial I/O mode while TRF0 = 1.
Figure 14-16. Automatic Transmission/Reception Suspension and Restart
CSIE10 = 0 (Suspended command)
SCK1
SO1
D7 D6 D5 D4 D3 D2 D1 D0
SI1
D7 D6 D5 D4 D3 D2 D1 D0
CSIE10: Bit 7 of serial operating mode register 1 (CSIM1)
CHAPTER 14 SERIAL INTERFACE (SIO1)
Suspend
Preliminary User's Manual U13420EJ2V0UM00
Restart command
CSIE10 = 1, Write to SIO1
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
243

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780065Mpd78f0066

Table of Contents