Figure 9.5 tx example 1, Datasheet – SMSC LAN9312 User Manual

Page 129

Advertising
background image

High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface

Datasheet

SMSC LAN9312

129

Revision 1.4 (08-19-08)

DATASHEET

„

16-Byte “Buffer End Alignment”

Figure 9.5

illustrates the TX command structure for this example, and also shows how data is passed

to the TX Data FIFO.

Figure 9.5 TX Example 1

TX Command 'A'

0

31

TX Command 'B'

Pad DWORD 1

7-Byte Data Start Offset

10-Byte

End Padding

79-Byte Payload

Buffer End Alignment = 1
Data Start Offset = 7
First Segment = 1
Last Segment = 0
Buffer Size = 79

Packet Length = 111

TX Command 'A'

0

31

TX Command 'B'

10-Byte

End Offset Padding

15-Byte Payload

Buffer End Alignment = 1
Data Start Offset = 0
First Segment = 0
Last Segment = 0
Buffer Size = 15

Packet Length = 111

TX Command 'A'

0

31

TX Command 'B'

Buffer End Alignment = 1
Data Start Offset = 10
First Segment = 0
Last Segment = 1
Buffer Size = 17

Packet Length = 111

10-Byte

Data Start Offset

TX Command 'A'

TX Command 'B'

TX Command 'A'

TX Command 'B'

TX Command 'A'

TX Command 'B'

NOTE: Extra bytes
between buffers are
not transmitted

Data Written to the

Memory Mapped

TX Data FIFO Port

Data Passed to the

TX Data FIFO

5-Byte End Padding

17-Byte Payload Data

TX Command 'A'

TX Command 'B'

TX Command 'A'

TX Command 'A'

1B

79-Byte Payload

15-Byte Payload

17-Byte Payload

Advertising