30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 11: LPC2300 Ethernet<br />

6. Ethernet Packet<br />

Similarly, driver software must set up pointers to data that will be transmitted by the<br />

Ethernet MAC, giving instructions for each fragment of data, and advancing the software<br />

transmit pointer for outgoing data. Hardware in the DMA engine reads this information and<br />

sends the data to the Ethernet MAC interface when possible, updating the status and<br />

advancing the hardware transmit pointer.<br />

Figure 11–19 illustrates the different fields in an Ethernet packet.<br />

ethernet packet<br />

PREAMBLE<br />

7 bytes<br />

ETHERNET FRAME<br />

start-of-frame<br />

delimiter<br />

1 byte<br />

DESTINATION<br />

ADDRESS<br />

SOURCE<br />

ADDRESS<br />

OPTIONAL<br />

VLAN<br />

LEN<br />

TYPE<br />

PAYLOAD<br />

FCS<br />

DesA<br />

oct6<br />

DesA<br />

oct5<br />

DesA<br />

oct4<br />

DesA<br />

oct3<br />

DesA<br />

oct2<br />

DesA<br />

oct1<br />

SrcA<br />

oct6<br />

SrcA<br />

oct5<br />

SrcA<br />

oct4<br />

SrcA<br />

oct3<br />

SrcA<br />

oct2<br />

SrcA<br />

oct1<br />

LSB<br />

oct(0) oct(1) oct(2) oct(3) oct(4) oct(5) oct(6)<br />

MSB<br />

oct(7)<br />

time<br />

Fig 19. Ethernet packet fields<br />

A packet consists of a preamble, a start-of-frame delimiter and an Ethernet frame.<br />

The Ethernet frame consists of the destination address, the source address, an optional<br />

VLAN field, the length/type field, the payload and the frame check sequence.<br />

Each address consists of 6 bytes where each byte consists of 8 bits. Bits are transferred<br />

starting with the least significant bit.<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 137 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!