Ethernet Transmitter Considerations; Ethernet Receiver Considerations - Digi NS7520B-1-C36 Hardware Reference Manual

Table of Contents

Advertisement

In general, the problem of transmit underruns can be avoided by running in half
duplex rather than full duplex. Late collisions can be eliminated by proper network
design; late collisions are caused by too many cascaded levels of hubs, switches,
repeaters, and the like.
To correct an underrun condition, use these steps:
Disable the DMA channel by setting the CE bit to 0 in the DMA Control register.
1
Disable the transmit DMA and transmit FIFO by setting the ETXDMA and ETX bits
2
to 0 in the Ethernet General Control register.
Initialize the buffer descriptors and DMA buffer descriptor pointer.
3
Enable the transmit DMA and transmit FIFO by setting the ETXDMA and ETX bits
4
to 1 in the Ethernet General Control register.
Enable the DMA channel by setting the CE bit to 1 in the DMA Control register.
5
The transmit DMA now starts again at the beginning. The recovery is implemented in
the NET+OS BSP, no data is lost, and there is no other effect on operation.

Ethernet transmitter considerations

When the DMA for an Ethernet transmit frame completes and the F bit is set in the
buffer descriptor, the packet transmission starts immediately no matter the value in
the watermark field. If the F bit is clear, packet transmission is delayed until the FIFO
contains the same number of bytes as the selected watermark. See "Ethernet General
Control register (EGCR) bit definitions" on page 158 for more information.

Ethernet receiver considerations

When an Ethernet frame is received, DMA channel 1 searches the four buffer
descriptors for the optimum buffer size. The search order is A, B, C, D. The search
stops as soon as the DMA channel finds an available buffer that is large enough to hold
the entire frame. The search also stops when the DMA channel finds a DMA Control
register whose CE bit is set to zero.
w w w . d i g i e m b e d d e d . c o m
D M A M o d u l e
1 4 5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NS7520B-1-C36 and is the answer not in the manual?

This manual is also suitable for:

Ns7520b seriesNs7520b-1-i46Ns7520b-1-c55

Table of Contents