Operations In The Three-Wire Serial I/O Mode; Basic Operation Timing; Sample System Configuration With Three-Wire Serial I/O - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

10.4 OPERATIONS IN THE THREE-WIRE SERIAL I/O MODE

In three-wire serial I/O mode, the device can communicate with a device having a conventional clock synchronous
serial interface.
Basically, communication is performed over three lines of serial clock (SCK), serial data output (SO) and serial data
input (SI). A handshaking line is required to connect the device to two or more devices.
Fig. 10-4 Sample System Configuration with Three-Wire Serial I/O
Note Handshaking line

10.4.1 Basic Operation Timing

In three-wire serial I/O mode, data is transmitted and received in units of eight bits. The data is transmitted and
received one bit at a time by means of the MSB-first method, in synchronization with the serial clock.
The transmission data is output in synchronization with the falling edge of SCK. The reception data is sampled
at the rising edge of SCK.
At the eighth rising edge of SCK, interrupt request INTCSI is issued.
If SCK is used as the internal clock, the output of SCK is stopped at the eighth rising edge of SCK. SCK is tied high
until transmission or reception of the subsequent data is started.
Fig. 10-5 shows the timing chart for three-wire serial I/O mode.
Chapter 10 Clock Synchronous Serial Interface
Three-wire serial I/O ↔ three-wire serial I/O
Master CPU
SCK
SO
SI
Note
Port (interrupt)
Port
Slave CPU
SCK
SI
SO
Port
Interrupt (port)
10
265

Advertisement

Table of Contents
loading

Table of Contents