Motorola MPC823e Reference Manual page 790

Microprocessor for mobile computing
Table of Contents

Advertisement

Communication Processor Module
16.9.22.15 SCCx ETHERNET CONTROLLER ERRORS. The SCCx Ethernet controller
reports frame reception and transmission error conditions using the channel buffer
descriptors, the error counters, and the SCCE–Ethernet register. The following transmission
errors can be detected by the SCCx Ethernet controller.
• Transmitter Underrun Error—If this error occurs, the channel sends 32 bits to ensure a
CRC error, stops transmitting the buffer, closes it, sets the UN bit in the TX buffer
descriptor, and sets TXE in the SCCE–Ethernet register. The channel resumes
transmission after it receives the RESTART TRANSMIT command.
• Carrier Sense Lost During Frame Transmission Error — When this error occurs and no
collision is found in the frame, the channel sets the CSL bit in the TX buffer descriptor,
sets the TXE bit in the SCCE–Ethernet register, and continues the buffer transmission
as normal. No retries are performed after this error occurs.
• Retransmission Attempts Limit Expired Error — When this error occurs, the channel
stops transmitting the buffer, closes it, sets the RL bit in the TX buffer descriptor, and
sets the TXE bit. The channel resumes transmission after it receives the RESTART
TRANSMIT command.
• Late Collision Error — When this error occurs, the channel stops transmitting the buffer,
closes it, sets the LC bit in the TX buffer descriptor, and sets the TXE bit. The channel
resumes transmission after it receives the RESTART TRANSMIT command. This error
is discussed further in the definition of the LCW bit in the PSMR–SCC Ethernet.
• Heartbeat Error — Some transceivers have a self-test feature called "heartbeat" or
"signal quality error." To signify a good self-test, the transceiver indicates a collision to
the MPC823e within 20 clocks after the Ethernet controller transmits a frame. This
indication does not imply a real collision error on the network, but is rather an indication
that the transceiver is still functioning properly. This is called the heartbeat condition.
If the HBC bit is set in the PSMR–SCC Ethernet and the MPC823e does not detect a
heartbeat condition after transmitting a frame, then a heartbeat error occurs. In which
case, the channel closes the buffer, sets the HB bit in the TX buffer descriptor, and
generates a TXE interrupt if it is enabled.
The following reception errors can be detected by the SCCx Ethernet controller:
• Overrun Error—The SCCx Ethernet controller maintains an internal FIFO for receiving
data. If a receiver FIFO overrun occurs, the channel writes the received data byte to the
internal FIFO over the previously received byte. The previous data byte and frame
status are lost. The channel closes the buffer, sets the OV bit in the RX buffer
descriptor, RXF in the SCCE–Ethernet register, and increments the discarded frame
counter. The receiver then enters hunt mode.
• Busy Error—This error occurs when a frame has been received and discarded because
of a lack of buffers. The channel sets the BSY bit in the SCCE–Ethernet register and
increments the discarded frame counter.
16-336
MPC823e REFERENCE MANUAL
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents