NEC uPD78056Y User Manual

Page 431

Advertising
background image

431

CHAPTER 18 SERIAL INTERFACE CHANNEL 1

Furthermore, in the case that the busy control option is used, select the internal clock for the serial clock.

The busy signal cannot be controlled with an external clock.

The operation timing when the busy control option is used is shown in Figure 18-19.

Caution

Busy control cannot be used at the same time as interval timing control using the auto

data send and receive interval instruction register (ADTI). If both are used simultaneously,

busy control becomes invalid.

Figure 18-19. Operation Timings when Using Busy Control Option (BUSY0 = 0)

Caution

When TRF is cleared, the SO1 pin becomes low level.

Remark

CSIIF1: Interrupt request flag

TRF

: Bit 3 of the auto data send and receive control register (ADTC)

If the busy signal becomes inactive, the wait is canceled. If the sampled busy signal is inactive, sending

or receiving of the next 8 bit data begins from the fall of the next serial clock cycle.

Furthermore, the busy signal is asynchronous with the serial clock, so even if the slave side inactivates

the busy signal, it takes nearly 1 clock cycle at the most until it is sampled again. Also, it takes another

0.5 clock cycle after sampling until data transmission resumes.

Therefore, in order to definitely cancel a wait state, it is necessary for the slave side to keep the busy

signal for at least 1.5 clock cycles.

Figure 18-20 shows the timing of the busy signal and wait cancel. In this figure, an example of the case

where the busy signal becomes active when sending or receiving starts is shown.

SCK1

SO1

D7 D6 D5 D4 D3 D2 D1 D0

D7 D6 D5 D4 D3 D2 D1 D0

BUSY

CSIIF1

SI1

D7 D6 D5 D4 D3 D2 D1 D0

D7 D6 D5 D4 D3 D2 D1 D0

TRF

Busy Input Valid

Busy Input Clear

Wait

Advertising