434
CHAPTER 18 SERIAL INTERFACE CHANNEL 1
(c) Bit Slippage Detection Function Through the Busy Signal
During an auto send and 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 auto data send and 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 18-
22.
Figure 18-22. Operation Timing of the Bit Slippage Detection Function Through the Busy SIgnal
(when BUSY0 = 1)
Remark
CSIIF1 : Interrupt Request Flag
CSIE1 : Bit 7 of serial operation mode register 1 (CSIM1)
ERR
: Bit 4 of the auto data send and receive control register (ADTC)
Error Interrupt
Request Generation
SCK1
SCK1
SO1
D7 D6 D5 D4 D3 D2 D1 D0
D7
D7 D6 D5 D4 D3 D2 D1
BUSY
CSIIF1
SI1
D7 D6 D5 D4 D3 D2 D1 D0
D7
D7 D6 D5 D4 D3 D2 D1
CSIE1
No Busy Detection
ERR
D0
D0
Error Detection
Bit Slippage Due to Noise
(Slave Side)
(Master Side)
Summary of Contents for PD78052
Page 2: ...2 MEMO ...
Page 8: ...8 MEMO ...
Page 16: ...16 MEMO ...
Page 36: ...36 MEMO ...
Page 158: ...158 MEMO ...
Page 174: ...174 MEMO ...
Page 240: ...240 MEMO ...
Page 260: ...260 MEMO ...
Page 340: ...340 MEMO ...
Page 392: ...392 MEMO ...
Page 438: ...438 MEMO ...
Page 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Page 510: ...510 MEMO ...
Page 524: ...524 MEMO ...
Page 560: ...560 MEMO ...
Page 576: ...576 MEMO ...
Page 598: ...598 MEMO ...
Page 602: ...602 MEMO ...