English
Language : 

MC9S12NE64CPVE Datasheet, PDF (339/554 Pages) Freescale Semiconductor, Inc – MC9S12NE64 Device Overview
Functional Description
11.4.3.2 Deferring
In half-duplex mode, if there is a carrier (the network is busy), the network node continues to listen until
the carrier ceases (network is idle). This is known as deferring to the passing traffic. As soon as the network
becomes idle (which includes waiting for the interframe gap interval), the network node may begin
transmitting a frame. The transmitter waits for the carrier sense to be negated for 60 bit times and then
begins transmit after another 36 bit times.
11.4.3.3 Collision Detection and Backoff
The collision detection and backoff feature is a normal part of the operation of Ethernet 802.3 MAC
protocol, and results in fast and automatic rescheduling of transmissions. This feature enables independent
network nodes to compete for network access in a fair manner. It provides a way for network nodes to
automatically adjust their behavior in response to the load of the network.
11.4.3.3.1 Collision Window
The collision window period is set to 64 byte times (512 bit times) starting after the SFD. If a collision
occurs within the collision window period, the retry process is initiated. If a late collision occurs (that is,
a collision after the collision window period), no retransmission is performed, the LCIF bit sets to 1, the
transmit retry counter is cleared, and transmission is aborted. If not masked (LCIE is set), the EMAC
generates a late collision interrupt. Due to latency associated with synchronizing the MII_COL signal,
assertions in the last three MII_TXCLK cycles of a normally completed transmission (during the FCS) are
ignored and a collision event is not recognized.
11.4.3.3.2 Jam Period
If a collision is detected anytime during transmission, the EMAC transmitter continues to transmit 32 bits
of data (called the collision enforcement jam signal) so that other devices on the Ethernet network,
including the offending transmitter, can detect the collision. If the collision is detected very early in the
frame transmission, the EMAC transmitter continues sending until it has completed the preamble of the
frame, after which it sends the 32 bits of jam data. If the collision is detected during the FCS, up to and
including the transfer of the last nibble of FCS data, the 32 bit jam is still sent.
11.4.3.3.3 Backoff Generator
After a collision occurs within the collision window period, the delay time that the EMAC transmitter
waits before attempting to retransmit the frame data is set at a multiple of the 512-bit Ethernet slot time.
The amount of total backoff delay is calculated by multiplying the slot time by a pseudo-randomly chosen
integer.
The backoff algorithm uses the following formula to determine the integer r, which is used to multiply the
slot time and generate a backoff delay.
0 ≤ r < 2k
MC9S12NE64 Data Sheet, Rev. 1.1
Freescale Semiconductor
339