![](http://datasheet.mmic.net.cn/30000/MCF5272CVF66_datasheet_2373703/MCF5272CVF66_234.png)
11-10
MCF5272 User’s Manual
MOTOROLA
FEC Frame Transmission
11.4.8.1 Transmission Errors
11.4.8.2 Reception Errors
Table 11-4. Transmission Errors
Error
Description
Transmitter
Underrun
The FEC sends 32 bits that ensure a CRC error and stops transmitting. All remaining buffers for
that frame are then ushed and closed, with the UN bit set in the last TxBD for that frame. The FEC
continues to the next TxBD and begins transmitting the next frame.
Carrier Sense
Lost during
Frame
Transmission
When this error occurs and no collision is detected in the frame, the FEC sets the CSL bit in the last
TxBD for this frame. The frame is sent normally. No retries are performed as a result of this error.
The CSL bit is not set if TCR[FDEN] = 1, regardless of the state of CRS.
Retransmission
Attempts Limit
Expired
When this error occurs, the FEC terminates transmission. All remaining buffers for that frame are
then ushed and closed, with the RL bit set in the last TxBD for that frame. The FEC then continues
to the next TxBD and begins sending the next frame.
Late Collision1
1
The denition of what constitutes a late collision is hard-wired in the FEC.
The FEC stops sending. All remaining buffers for that frame are then ushed and closed, with the
LC bit set in the last TxBD for that frame. The FEC then continues to the next TxBD and begins
sending the next frame.
Heartbeat
Some transceivers have a self-test feature called heartbeat or signal-quality error. To signify a good
self-test, the transceiver indicates a collision within 20 clocks after the FEC sends a frame. This
heartbeat condition does not imply a real collision, but that the transceiver seems to be functioning
properly.
If TCR[HBC] is set and the heartbeat condition is not detected by the FEC after a frame
transmission, then a heartbeat error occurs. When this error occurs, the FEC closes the buffer, sets
the HB bit in the Tx BD, and generates the HBERR interrupt if it is enabled.
Table 11-5. Reception Errors
Error
Description
Overrun Error The FEC maintains an internal FIFO for receiving data. If a receiver FIFO overrun occurs, the FEC
closes the buffer and sets RxBD[OV].
Non-Octet
Error
(Dribbling Bits)
The FEC handles up to seven dribbling bits when the receive frame terminates non-octet aligned and
it checks the CRC of the frame on the last octet boundary. If there is a CRC error, the frame non-octet
aligned (NO) error is reported in the RxBD. If there is no CRC error, no error is reported.
CRC Error
When a CRC error occurs with no dribbling bits, the FEC closes the buffer and sets RxBD[CR]. CRC
checking cannot be disabled, but the CRC error can be ignored if checking is not required.
Frame Length
Violation
When the receive frame length exceeds R_HASH[MAX_FRAME_LENGTH], EIR[BABR] is set
indicating babbling receive error, and the LG bit in the end of frame RxBD is set.
Note: Receive frames exceeding 2047 bytes are truncated.