
7.6
TRANSMITTER SECTION
7.6.1
The transmitter section generates serial stream of
NRZ data. It produces preamble and the SFD field
at the beginning of a frame, then data is shifted from
the FIFO serially followed by the CRC field. The
transmitter checks for collisions and retransmits the
frames if necessary, it counts interframe gap and
implements random backoff algorithm. It maintains
the transmit statistics and generates status
information on each attempted transmission.
Selection of optional operating modes of the
Transmitter section is done primarily by
programming the Transmit Configuration register.
Basic Function
7.6.2
At the beginning of each frame, the transmitter
generates 56 bits of preamble (an alternating ’1010’
pattern). Immediately after this, it generates a Start
Frame Delimiter sequence which is ’10101011.’
Preamble Generator
7.6.3
The Transmit Serializer converts 8 bits of parallel
data from the FIFO into serial transmit NRZ data.
Data is shifted out least-significant-bit (LSB) first.
Serial data is clocked onto an internal signal (TXD)
by the rising edge of the transmit clock. This signal
passes to the Manchester Encoder which encodes
it and drives the selected serial interface. When the
encoder is being bypassed, the serial data drives
the XTXD pin directly.
Transmit Serializer
7.6.4
The transmitter calculates the CRC serially and
appends it to each frame. CRC is clocked out
most-significant-bit (MSB) first. The transmitter can
be configured to exclude attachment of the
computed CRC by setting the CRCN option bit in
the
Transmit
C onfiguration
(TCON.CRCN). This is useful for some bridging
applications in which the original checksum must
remain attached to the packet until the final
destination.
CRC Generator
R egister
7.6.5
Transmit Protocol FSM controls transmission of
frames, defers to active carriers and collisions,
monitors collision conditions, and initiates both
backoff and re-transmission when needed.
Transmit Protocol FSM
7.6.5.1
Deference is initiated when both XCRS and XCOL
have terminated at the end of a frame.
Interframe Gap and Deference
The transmitter deference logic initiates a 2-part
timer at the end of network activity. While this timer
is running, no frame transmission will be initiated.
The first part of the timer (interFrame SpacingPart1)
is used to observe the network for transmission
activity by other stations. If this station is
transmitting, carrier is sensed, or collision is
detected during this part of the timer, the timer will
be reset to zero and held there until the termination
of line activity. When the first part of the timer
elapses, line activity is no longer observed and the
timer runs to completion.
If any frame is queued up for transmission at the
moment of timer expiration, transmission will be
initiated regardless of line activity.
The combination of interFrame SpacingPart1 and
interFrame S pacingPart2 makes up the
Inter-Frame Gap (IFG) as defined by the 802.3
specification. The interFrame SpacingPart1 is 6.0
μ
sec and interFrame SpacingPart2 is 3.6
μ
sec.
7.6.5.2
When collision is detected by the transmitter
section during the first slot time of an active
transmission, the transmission does not terminate
immediately. Instead, the preamble is allowed to
finish and the jam sequence is transmitted. The jam
sequence consists of 32 bits of logic ’1’s. If collision
is detected after the slot time is passed, the 83C795
will abort the transmission with jam and without
retry and ’Out of Window Collision’ bit is set in the
transmission status register.
Collision Handling Logic
83C795
LAN CONTROLLER OVERVIEW
76