29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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.

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

RM0008<br />

Bit 0 MB: MII busy<br />

This bit should read a logic 0 before writing to ETH_MACMIIAR <strong>and</strong> ETH_MACMIIDR. This bit<br />

must also be reset to 0 during a Write to ETH_MACMIIAR. During a PHY register access, this<br />

bit is set to 0b1 by the application to indicate that a read or write access is in progress.<br />

ETH_MACMIIDR (MII Data) should be kept valid until this bit is cleared by the MAC during a<br />

PHY Write operation. The ETH_MACMIIDR is invalid until this bit is cleared by the MAC during<br />

a PHY Read operation. The ETH_MACMIIAR (MII Address) should not be written to until this bit<br />

is cleared.<br />

Ethernet MAC MII data register (ETH_MACMIIDR)<br />

Address offset: 0x0014<br />

Reset value: 0x0000 0000<br />

The MAC MII Data register stores write data to be written to the PHY register located at the<br />

address specified in ETH_MACMIIAR. ETH_MACMIIDR also stores read data from the PHY<br />

register located at the address specified by ETH_MACMIIAR.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

MD<br />

Reserved<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bits 31:16 Reserved<br />

Bits 15:0 MD: MII data<br />

This contains the 16-bit data value read from the PHY after a Management Read operation, or<br />

the 16-bit data value to be written to the PHY before a Management Write operation.<br />

Ethernet MAC flow control register (ETH_MACFCR)<br />

Address offset: 0x0018<br />

Reset value: 0x0000 0000<br />

The Flow control register controls the generation <strong>and</strong> reception of the control (Pause<br />

Comm<strong>and</strong>) frames by the MAC. A write to a register with the Busy bit set to '1' causes the<br />

MAC to generate a pause control frame. The fields of the control frame are selected as<br />

specified in the 802.3x specification, <strong>and</strong> the Pause Time value from this register is used in<br />

the Pause Time field of the control frame. The Busy bit remains set until the control frame is<br />

transferred onto the cable. The Host must make sure that the Busy bit is cleared before<br />

writing to the register.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

FCB/<br />

PT<br />

PLT<br />

BPA<br />

Reserved<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rc_w1<br />

/rw<br />

ZQPD<br />

Reserved<br />

UPFD<br />

RFCE<br />

TFCE<br />

912/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!