www.DataSheet4U.com
CHAPTER 17 SERIAL INTERFACE CHANNEL 1
442
(c) Bit shift detection by busy signal
During automatic transmission/reception, a bit shift of the serial clock of the slave device may occur because
noise is superimposed on the serial clock signal output by the master device. Unless the strobe control option
is used at this time, the bit shift affects transmission of the next byte. In this case, the master can detect
the bit shift by checking the busy signal during transmission by using the busy control option.
A bit shift is detected by using the busy signal as follows:
The slave outputs the busy signal after the rising of the eighth serial clock during data transmission/reception
(to not keep transmission/reception waiting by the busy signal at this time, make the busy signal inactive
within 2 clocks).
The master samples the busy signal in synchronization of the falling of the leading side of the serial clock.
If a bit shift does not occur, all the eight serial clocks that have been sampled are inactive. If the sampled
serial clocks are active, it is assumed that a bit shift has occurred, and error processing is executed (by setting
bit 4 (ERR) of the automatic transmission/reception control register (ADTC) to 1).
Figure 17-21 shows the operation timing of the bit shift detection function by the busy signal.
Figure 17-21. Operation Timing of Bit Shift Detection Function by Busy Signal
(when BUSY0 = 1)
CSIIF1 : Interrupt request flag
CSIE1 : Bit 7 of serial operation mode register1 (CSIM1)
ERR
: Bit 4 of automatic data transmission/reception control register (ADTC)
SCK1
(slave)
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
Busy not detected
Error interrupt request
generated
Error detected
Bit shift due to noise
SCK1
(master)
Содержание 78014Y Series
Страница 2: ...www DataSheet4U com 2 MEMO...
Страница 8: ...www DataSheet4U com 8 MEMO...
Страница 22: ...www DataSheet4U com 22 MEMO...
Страница 30: ...www DataSheet4U com 30 MEMO...
Страница 34: ...www DataSheet4U com 34 MEMO...
Страница 62: ...www DataSheet4U com CHAPTER 2 OUTLINE PD78014Y Subseries 62 MEMO...
Страница 78: ...www DataSheet4U com CHAPTER 3 PIN FUNCTION PD78014 Subseries 78 MEMO...
Страница 94: ...www DataSheet4U com CHAPTER 4 PIN FUNCTION PD78014Y Subseries 94 MEMO...
Страница 170: ...www DataSheet4U com CHAPTER 7 CLOCK GENERATOR 170 MEMO...
Страница 222: ...www DataSheet4U com CHAPTER 9 8 BIT TIMER EVENT COUNTER 222 MEMO...
Страница 230: ...www DataSheet4U com CHAPTER 10 WATCH TIMER 230 MEMO...
Страница 262: ...www DataSheet4U com CHAPTER 14 A D CONVERTER 262 MEMO...
Страница 318: ...www DataSheet4U com CHAPTER 15 SERIAL INTERFACE CHANNEL 0 PD78014 Subseries 318 MEMO...
Страница 408: ...www DataSheet4U com CHAPTER 16 SERIAL INTERFACE CHANNEL 0 PD78014Y Subseries 408 MEMO...
Страница 446: ...www DataSheet4U com CHAPTER 17 SERIAL INTERFACE CHANNEL 1 446 MEMO...
Страница 472: ...www DataSheet4U com CHAPTER 18 INTERRUPT FUNCTIONS AND TEST FUNCTION 472 MEMO...
Страница 502: ...www DataSheet4U com CHAPTER 22 PD78P014 78P014Y 502 MEMO...
Страница 520: ...www DataSheet4U com CHAPTER 23 INSTRUCTION SET 520 MEMO...