Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 747

Powerquicc family
Table of Contents

Advertisement

pattern. Unless SYNL is zero (external sync), the transmitter always sends the entire DSR contents, lsb
first, before each frame—the chosen 4- or 8-bit pattern can be repeated in the lower-order bits.
GSMR_H[SYNL]
Setting
00
01
10
11
26.10
Handling Errors in the SCC BISYNC
The controller reports message transmit and receive errors using the channel BDs, error counters, and the
SCCE. Modem lines can be directly monitored via the port C pins.
Error
Transmitter
The channel stops sending the buffer, closes it, sets TxBD[UN], and generates a TXE interrupt if it
Underrun
is enabled. The channel resumes transmission after a
Underrun cannot occur between frames or during a DLE–XXX pair in transparent mode.
CTS Lost during
The channel stops sending the buffer, closes it, sets TxBD[CT], and generates a TXE interrupt if not
Message
masked. Transmission resumes when a
Transmission
Table 26-9
describes receive errors.
Error
Overrun
The controller maintains a receiver FIFO for receiving data. The CP begins programming the SDMA
channel (if the buffer is in external memory) and updating the CRC when the first byte is received in
the Rx FIFO. If an Rx FIFO overrun occurs, the controller writes the received byte over the previously
received byte. The previous character and its status bits are lost. The channel then closes the buffer,
sets RxBD[OV], and generates the RXB interrupt if it is enabled. Finally, the receiver enters hunt
mode.
CD Lost during
The channel stops receiving, closes the buffer, sets RxBD[CD], and generates the RXB interrupt if
Message
not masked. This error has the highest priority. If the rest of the message is lost, no other errors are
Reception
checked in the message. The receiver immediately enters hunt mode.
Parity
The channel writes the received character to the buffer and sets RxBD[PR]. The channel stops
receiving, closes the buffer, sets RxBD[PR], and generates the RXB interrupt if it is enabled. The
channel also increments PAREC and the receiver immediately enters hunt mode.
CRC
The channel updates the CR bit in the BD every time a character is received with a byte delay of
eight serial clocks between the status update and the CRC calculation. When control character
recognition is used to detect the end of the block and cause CRC checking, the channel closes the
buffer, sets the CR bit in the BD, and generates the RXB interrupt if it is enabled.
Freescale Semiconductor
Table 26-7. Receiver SYNC Pattern Lengths of the DSR
0
1
2
3
4
An external SYNC signal is used instead of the SYNC pattern in the DSR.
4-Bit
8-Bit
Transmit Errors
Table 26-8.
Receive Errors
Table 26-9.
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Bit Assignments
5
6
7
8
9
10
16-Bit
Table 26-8
Description
RESTART TRANSMIT
command is received.
RESTART TRANSMIT
Description
SCC BISYNC Mode
11
12
13
14
15
describes transmit errors.
command is received.
26-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents