CS8900A
Crystal LAN™ Ethernet Controller
3.9.5.4 Collision Resolution
fore 512 bit times, the MAC immediately termi-
nates transmission, transmits the jam
sequence, and then initiates Backoff. In either
case, if the Onecoll bit (Register 9, TxCMD, Bit
9) is clear, the MAC will attempt to transmit a
packet a total of 16 times (the initial attempt
plus 15 retransmissions) due to normal colli-
sions. On the 16th collision, it sets the 16coll
bit (Register 8, TxEvent, Bit F) and discards
the packet. If the Onecoll bit is set, the MAC
discards the packet without attempting any re-
transmission.
If a collision is detected while the CS8900A is
transmitting, the MAC responds in one of three
ways depending on whether it is a normal col-
lision (within the first 512 bits of transmission)
or a late collision (after the first 512 bits of
transmission):
3.9.5.5 Normal Collisions
If a collision is detected before the end of the
preamble and SFD, the MAC finishes the pre-
amble and SFD, transmits the jam sequence
(32-bit pattern of all 0’s), and then initiates
Backoff. If a collision is detected after the
transmission of the preamble and SFD but be-
3.9.5.6 Late Collisions
If a collision is detected after the first 512 bits
have been transmitted, the MAC immediately
terminates transmission, transmits the jam se-
quence, discards the packet, and sets the Out-
of-window bit (Register 8, TxEvent, Bit 9). The
CS8900A does not initiate backoff or attempt
to retransmit the frame. For additional informa-
tion about Late Collisions, see Out-of-Window
Error in this section.
Start Monitoring
Network Activity
Ye s
Network
Active?
3.9.5.7 Backoff
No
After the MAC has completed transmitting the
jam sequence, it must wait, or “Back off”, be-
fore attempting to transmit again. The amount
of time it must wait is determined by one of two
Backoff algorithms: the Standard Backoff algo-
rithm (ISO/IEC 4.2.3.2.5) or the Modified
Backoff algorithm. The host selects which al-
gorithm through the ModBackoffE bit (Register
13, LineCTL, Bit B).
W ait
9.6
µ
s
No
T
Fra
x
m
e
No
Yes
Network
Active?
Ready and Not
ac off?
3.9.5.8 Standard Backoff
i
n
B
k
The Standard Backoff algorithm, also called
the “Truncated Binary Exponential Backoff”, is
described by the equation:
Yes
Transm it
Fram e
0 ≤ r ≤ 2k
where r (a random integer) is the number of
slot times the MAC must wait (1 slot time = 512
Figure 11. Simple Deferral
CIRRUS LOGIC PRODUCT DATASHEET
34
DS271F4