beautypg.com

Hardware, Function block operations – Renesas 4514 User Manual

Page 51

background image

1-38

HARDWARE

4513/4514 Group User’s Manual

FUNCTION BLOCK OPERATIONS

(5) How to use serial I/O

Figure 24 shows the serial I/O connection example. Serial I/O inter-

rupt is not used in this example. In the actual wiring, pull up the

wiring between each pin with a resistor. Figure 25 shows the data

transfer timing and Table 13 shows the data transfer sequence.

Fig. 24 Serial I/O connection example

S

OUT

S

RDY

signal

S

CK

S

IN

D

5

S

CK

S

OUT

S

IN

D

5

Master (clock control)

Serial I/O interrupt enable bit

(SNZSI instruction is valid)

Interrupt control register V2

Serial I/O mode register J1

Serial I/O port
S

CK,

S

OUT,

S

IN

Instruction clock divided by
8 or 4 selected as a transfer
clock

Internal clock selected as
a synchronous clock

Slave (external clock)

0

1

(Bit 3)

(Bit 0)

1

0

1

This bit is not valid
when J1

0

=“0”

: Set an arbitrary value.

(Bit 3)

(Bit 0)

(Bit 3)

(Bit 0)

(Bit 3)

(Bit 0)

0

Serial I/O interrupt enable bit

(SNZSI instruction is valid)

Interrupt control register V2

Serial I/O port
S

CK,

S

OUT,

S

IN

External clock selected as
a synchronous clock

Serial I/O mode register J1

This manual is related to the following products: