4 keeping streamtransfer mode active, 5 example of streamtransfer, Figure 28. receive example without stream transfer – Cirrus Logic CS8900A User Manual

Page 98: Figure 29. receive dma configuration options, Cs8900a

Advertising
background image

98

DS271F5

CS8900A

Crystal LAN™ Ethernet Controller

CIRRUS LOGIC PRODUCT DATASHEET

updates the DMA Start-of-Frame register
(PacketPage base + 0026h);

updates the DMA Frame Count register
(PacketPage base + 0028h);

updates DMA Byte Count register (Packet-
Page base + 002Ah);

sets the RxDMAFrame bit (Register C,
BufEvent, Bit 7); and,

generates an RxDMAFrame interrupt.

5.5.4 Keeping StreamTransfer Mode
Active

When the CS8900A initiates a StreamTransfer
cycle, it will continue to execute cycles as long
as the following conditions hold true:

all packets received are of legal length with
valid CRC;

each packet follows its predecessor by less
than 52 ms; and,

the DA of each packet passes the DA filter.

If any of these conditions are not met, the
CS8900A exits StreamTransfer by generating
RxOK and RxDMA interrupts. The CS8900A
then returns to either Memory, I/O, or DMA
mode, depending on configuration.

5.5.5 Example of StreamTransfer

Figure 28 shows how four back-to-back
frames, followed by five back-to-back frames,
would be received without StreamTransfer.
Figure 29 shows how the same sequence of
frames would be received with StreamTrans-
fer.

4 Back-to-Back Frames

5 Back-to-Back Frames

Interrupt
Request

9 Interrupts for 9 "Good" Packets

Time

T > 52 us

Figure 28. Receive Example Without Stream Transfer

4 Back-to-Back Frames

5 Back-to-Back Frames

Interrupt
Request

2 Interrupts for 9 "Good" Packets

Time

T > 52 us

Figure 29. Receive DMA Configuration Options

Advertising