beautypg.com

NEC PD78F9488 User Manual

Page 248

background image

CHAPTER 12 SERIAL INTERFACE 1A0

248

User’s Manual U15331EJ4V1UD

(d) Automatic transmission/reception suspension and restart

Automatic transmission/reception can be temporarily suspended by setting bit 7 (CSIE10) of serial
operation mode register 1A0 (CSIM1A0) to 0.
During 8-bit data transfer, the transmission/reception is not suspended if bit 7 (CSIE10) is set to 0. It is
suspended upon completion of 8-bit data transfer.
When suspended, bit 3 (TRF0) of automatic data transmit/receive control register 0 (ADTC0) is set to 0
after transfer of the 8th bit, and all the port pins used alternately as serial interface pins (P23/SCK10,
P24/SO10, P25/SI10) are set to the port mode.
During restart of transmission/reception, the remaining data can be transferred by setting CSIE10 to 1
and writing any data to serial I/O shift register 1A0 (SIO1A0).

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 is being
transferred.

2. When suspending automatic transmission/reception, do not change the operation

mode to 3-wire serial mode while TRF0 = 1.

Figure 12-16. Automatic Transmission/Reception Suspension and Restart

CSIE10: Bit 7 of serial operation mode register 1A0 (CSIM1A0)

SCK10

SO10

D7 D6 D5 D4 D3 D2 D1 D0

D7 D6 D5 D4 D3 D2 D1 D0

SI10

D7 D6 D5 D4 D3 D2 D1 D0

D7 D6 D5 D4 D3 D2 D1 D0

CSIE10 = 0 (Suspended command)

Suspend

Restart command
CSIE10 = 1, Write to SIO1A0

This manual is related to the following products: