29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Ethernet (ETH): media access control (MAC) with DMA controller<br />

RM0008<br />

Figure 294. MAC frame format<br />

7 bytes<br />

1 byte<br />

6 bytes<br />

6 bytes<br />

2 bytes<br />

46-1500 bytes<br />

4 bytes<br />

Preamble<br />

SFD<br />

Destination address<br />

Source address<br />

MAC client length/type<br />

MAC client data<br />

PAD<br />

Frame check sequence<br />

Bytes within<br />

frame transmitted<br />

top to bottom<br />

MSB<br />

LSB<br />

Bit transmission order (right to left)<br />

ai15629<br />

Figure 295. Tagged MAC frame format<br />

7 bytes<br />

1 byte<br />

6 bytes<br />

6 bytes<br />

QTag Prefix<br />

4 bytes<br />

2 bytes<br />

42-1500 bytes<br />

4 bytes<br />

Preamble<br />

SFD<br />

Destination address<br />

Source address<br />

Length/type = 802.1QTagType<br />

Tag control information<br />

MAC client length/type<br />

MAC client data<br />

Pad<br />

Frame check sequence<br />

bytes within<br />

frame transmitted<br />

top to bottom<br />

MSB<br />

1 0 0 0 0 0 0 0 1<br />

User priority<br />

CFI<br />

VLAN identifier (VID, 12 bits)<br />

LSB<br />

0 0 0 0 0 0 0 0 0<br />

MSB<br />

Bit transmission order (right to left)<br />

LSB<br />

ai15630<br />

Each byte of the MAC frame, except the FCS field, is transmitted low-order bit first.<br />

An invalid MAC frame is defined by one of the following conditions:<br />

● The frame length is inconsistent with the expected value as specified by the length/type<br />

field. If the length/type field contains a type value, then the frame length is assumed to<br />

be consistent with this field (no invalid frame)<br />

● The frame length is not an integer number of bytes (extra bits)<br />

● The CRC value computed on the incoming frame does not match the included FCS<br />

852/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!