11-10
MCF5272 User’s Manual
FEC Frame Transmission
11.4.8 Ethernet Error-Handling Procedure
The FEC reports frame reception and transmission error conditions through the buffer
descriptors and the I_EVENT register.
11.4.8.1 Transmission Errors
Transmission errors are defined in Table 11-4.
11.4.8.2 Reception Errors
Table 11-5 describes 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 flushed 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 X_CNTRL[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 flushed 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 Collision
1
1
The definition of what constitutes a late collision is hard-wired in the FEC.
The FEC stops sending. All remaining buffers for that frame are then flushed 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 X_CNTRL[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], I_EVENT[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.
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...