NEC PD75402A User Manual

Page 92

Advertising
background image

81

CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS

(3)

Shift register (SIO)

The configuration around the shift register is shown in Fig. 5-27. SIO is an 8-bit register which carries out parallel-

to-serial conversion and performs serial transmission/reception (shift operations) in synchronization with the serial

clock.

A serial transfer is started by writing data to SIO.

In transmission, the data written to SIO is output to the serial output (SO) or the serial data bus (SB0). In reception,

data is read into SIO from the serial input (SI) or SB0.

SIO can be read or written to by an 8-bit manipulation instruction.

If RESET is input during its operation, the value of SIO is indeterminate. If RESET is input in the standby mode,

the value of SIO is retained.

The shift operation stops after transmission/reception of 8 bits.

Fig. 5-27 Configuration Around Shift Register

P02/SO
/SB0

Internal Bus

Address
Comparator

Shift Register
(SIO)

Shift Clock

N-ch Open-Drain Output

BUSY/ACK

CLK

SET

CLR

D

Q

SO Latch

CMDT

RELT

SIO reading and the start of a serial transfer (write) are possible at the following times:

• When the serial interface operation enable/disable bit (CSIE) = 1, except when CSIE is set to “1” after data has

been written into the shift register.

• When the serial clock has been masked agter an 8-bit serial transfer.

• When SCK is high.

Ensure that SCK is high when data is written to or read from the SIO register.

In the SBI mode data bus configuration, input pins and output pins have dual functions. Output pins have an N-

ch open-drain configuration. Therefore, in a device in which reception is about to be performed, FFH should be set

in the SIO register.

Advertising
This manual is related to the following products: