CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS

(2) Communication operation

In the 3-wire serial I/O mode, data transmission/ reception is performed in 8-bit units. Data is transmitted/received bit by bit in synchronization with the serial clock.

Shift register shift operations are performed in synchronization with the fall of the serial clock (SCK). Then send data is held in the SO latch output from the SO pin. Also, receive data input to the SI pin is latched in the shift register on the rise of SCK.

At the end of an 8-bit transfer the operation of the shift register stops automatically and the IRQCSI interrupt request flag is set.

Fig. 5-29 3-Wire Serial I/O Mode Timing

SCK

SI

SO

IRQCSI

1

DI7

DO7

2

DI6

DO6

3

DI5

DO5

 

 

 

 

 

 

4

 

5

6

7

 

 

 

 

 

 

DI4 DI3 DI2

DO4 DO3 DO2

8

DI1 DI0

DO1 DO0

 

 

End of

Start of Transfer Symchronized with Fall of SCK

Transfer

Execution of Instruction which Writes Data to SIO (Trasfer Start Directive)

The SO pin becomes a CMOS output and outputs the SO latch status, and thus the SO pin output status can be manipulated in accordance with the setting of the RELT bit and CMDT bit.

However, manipulation should not be performed during a serial transfer.

88

Page 99
Image 99
NEC PD75402A, PD75P402 user manual Communication operation, 29 3-Wire Serial I/O Mode Timing