Data Transmission and Reception
11-48
-
Case 3: Unexpected transmit frame synchronization with XFIG = 0. The
case for frame synchronization with XFIG = 0 at maximum packet frequen-
cy is shown in Figure 11–20. Figure 11–32 shows the case for normal op-
eration of the serial port with interpacket intervals. In both cases, XSYN-
CERR in the SPCR is set. XSYNCERR can be cleared only by transmitter
reset or by writing a 0 to this bit in the SPCR. If XINTM = 11b in the SPCR,
XSYNCERR drives the receive interrupt (XINT) to the CPU.
Note:
The XSYNCERR bit in the SPCR is a read/write bit, so writing a 1 to it sets the
error condition. Typically, writing a 0 is expected.
Figure 11–32.
Unexpected Transmit Frame Synchronization Pulse
A1
B2
B3
B4
B5
B6
B7
B4
B5
B6
XSYNCERR
XRDY
DX
FSX
B1
B0
B7
A0
CLKX
Unexpected frame synchronization
DXR-to-XSR copy (B)
Write of DXR (C)
DXR-to-XSR (C)
Write of DXR (D)