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.

RM0008<br />

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

Figure 303. Reception with false carrier indication<br />

MII_RX_CLK<br />

MII_RX_DV<br />

MII_RXD[3:0]<br />

XX<br />

XX<br />

XX<br />

XX<br />

0E XX XX XX XX<br />

MII_RX_ERR<br />

ai15636<br />

27.5.4 MAC interrupts<br />

Interrupts can be generated from the MAC core as a result of various events.<br />

The ETH_MACSR register describes the events that can cause an interrupt from the MAC<br />

core. You can prevent each event from asserting the interrupt by setting the corresponding<br />

mask bits in the Interrupt Mask register.<br />

The interrupt register bits only indicate the block from which the event is reported. You have<br />

to read the corresponding status registers <strong>and</strong> other registers to clear the interrupt. For<br />

example, bit 3 of the Interrupt register, set high, indicates that the Magic packet or Wake-on-<br />

LAN frame is received in Power-down mode. You must read the ETH_MACPMTCSR<br />

Register to clear this interrupt event.<br />

Figure 304. MAC core interrupt masking scheme<br />

TSTS<br />

TSTIM<br />

AND<br />

TSTI<br />

OR<br />

Interrupt<br />

PMTS<br />

PMTIM<br />

AND<br />

PMTI<br />

ai15637<br />

27.5.5 MAC filtering<br />

Address filtering<br />

Address filtering checks the destination <strong>and</strong> source addresses on all received frames <strong>and</strong><br />

the address filtering status is reported accordingly. Address checking is based on different<br />

parameters (Frame filter register) chosen by the application. The filtered frame can also be<br />

identified: multicast or broadcast frame.<br />

Address filtering uses the station's physical (MAC) address <strong>and</strong> the Multicast Hash table for<br />

address checking purposes.<br />

Doc ID 13902 Rev 9 865/995

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

Saved successfully!

Ooh no, something went wrong!