453
CHAPTER 19 SERIAL INTERFACE CHANNEL 1
(c) Bit slippage detection function through the busy signal
During an automatic transmit/receive operation, noise occur in the serial clock signal output by the
master device and bit slippage may occur in the slave device side serial clock. At this time, if the strobe
control option is not used, this bit slippage will have an effect on sending of the next byte. In such a
case, the busy control option can be used on the master device side and, by checking the busy signal
during sending, bit slippage can be detected.
Bit slippage detection through the busy signal is accomplished as follows.
The slave side outputs a busy signal after the serial clock rises on the 8th cycle of data sending or
receiving (at this time, if application of the wait state by the busy signal is not desired, the busy signal
is made inactive within 2 clock cycles).
The master device side samples the busy signal in sync with the fall of the serial clock’s front side. If
no bit slippage is occurring, the busy signal will be inactive in sampling for 8 clock cycles. If the busy
signal is found to be active in sampling, it is regarded as an occurrence of bit slippage error processing
is executed (bit 4 (ERR) of the automatic data transmit/receive control register (ADTC) is set at (1)).
The operation timing of the bit slippage detection function through the busy signal is shown in Figure
19-22.
Figure 19-22. Operation Timing of the Bit Slippage Detection Function through the Busy Signal
(BUSY0 = 1)
CSIIF1 : Interrupt request flag
CSIE1 : Bit 7 of serial operating mode register 1 (CSIM1)
ERR
: Bit 4 of the automatic data transmit/receive control register (ADTC)
SCK1
D7
SO1
SI1
D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1
D0
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1
D0
BUSY
CSIIF1
CSIE1
ERR
D7
D7
No busy detection
Error interrrupt request
generation
Error detection
(Slave Side)
SCK1
(Master Side)
Bit slippage due to noise
Summary of Contents for PD78076
Page 2: ...2 MEMO ...
Page 12: ...12 MEMO ...
Page 48: ...48 MEMO ...
Page 64: ...64 MEMO ...
Page 82: ...82 MEMO ...
Page 100: ...100 MEMO ...
Page 130: ...130 MEMO ...
Page 180: ...180 MEMO ...
Page 222: ...222 MEMO ...
Page 248: ...248 MEMO ...
Page 288: ...288 MEMO ...
Page 308: ...308 MEMO ...
Page 364: ...364 MEMO ...
Page 494: ...494 MEMO ...
Page 526: ...526 MEMO ...
Page 544: ...544 MEMO ...
Page 558: ...558 MEMO ...
Page 580: ...580 MEMO ...
Page 596: ...596 MEMO ...
Page 598: ...598 MEMO ...
Page 626: ...626 MEMO ...