EasyManua.ls Logo

Motorola MPC823e - Page 669

Motorola MPC823e
1353 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication Processor Module
MOTOROLA
MPC823e REFERENCE MANUAL
16-215
COMMUNICATION
16
PROCESSOR MODULE
SCCs
The following reception errors can be detected by the SCCx UART controller:
Overrun Error
This error occurs when data is moved from the receiver FIFO to the
data buffer after the first byte is received. If a receiver FIFO overrun occurs, the channel
writes the received character into the internal FIFO and over the previously received
character. The channel then writes the received character to the buffer, closes it, sets
the OV bit in the RX buffer descriptor, and generates the RX interrupt if it is enabled. In
automatic multidrop mode, the receiver enters hunt mode immediately.
•CD
Lost During Character Reception Error
If this error occurs and the channel is using
this pin to automatically control reception, the channel terminates character reception,
closes the buffer, sets the CD bit in the RX buffer descriptor, and generates the RX
interrupt if it is enabled. This error has the highest priority. The last character in the
buffer is lost and other errors are not checked. In automatic multidrop mode, the
receiver enters the hunt mode immediately.
Parity Error
When a parity error occurs, the channel writes the received character to
the buffer, closes the buffer, sets the PR bit in the RX buffer descriptor, and generates
the RX interrupt if it is enabled. The channel also increments the PAREC counter. In
automatic multidrop mode, the receiver enters hunt mode immediately.
Noise Error
The SCCx UART controller detects a noise error when three different
samples are taken on every bit. When this error occurs, the channel writes the received
character to the buffer, proceeds normally, but increments the noise error.
Idle Sequence Receive Error
When the SCCx UART controller receiver receives all
ones in the receive buffer (idle sequence), the channel counts the number of
consecutive idle characters that were received. If the count reaches the value
programmed into MAX_IDL, the buffer is closed and an RX interrupt is generated. If no
receive buffer is open, this event does not generate an interrupt or any status
information. The internal idle counter (IDLC) is reset every time a character is received.
Note:
A noise error will not occur when the SCCx UART controller is in synchronous
mode.
Note:
To disable the idle sequence function, set the MAX_IDL value to zero.

Table of Contents

Related product manuals