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 />

Table 188. Ethernet pin configuration (continued)<br />

MAC signals MII default MII remap RMII default RMII remap Pin Pin configuration<br />

ETH_MII_RXD2 - RXD2 - - PD11 Floating input (reset state)<br />

ETH_MII_RXD3 - RXD3 - - PD12 Floating input (reset state)<br />

27.4 Ethernet functional description: SMI, MII <strong>and</strong> RMII<br />

The Ethernet peripheral consists of a MAC 802.3 (media access control) with a dedicated<br />

DMA controller. It supports both default media-independent interface (MII) <strong>and</strong> reduced<br />

media-independent interface (RMII) through one selection bit (refer to AFIO_MAPR<br />

register).<br />

The DMA controller interfaces with the Core <strong>and</strong> memories through the AHB Master <strong>and</strong><br />

Slave interfaces. The AHB Master Interface controls data transfers while the AHB Slave<br />

interface accesses Control <strong>and</strong> Status Registers (CSR) space.<br />

The Transmit FIFO (Tx FIFO) buffers data read from system memory by the DMA before<br />

transmission by the MAC Core. Similarly, the Receive FIFO (Rx FIFO) stores the Ethernet<br />

frames received from the line until they are transferred to system memory by the DMA.<br />

The Ethernet peripheral also includes an SMI to communicate with external PHY. A set of<br />

configuration registers permit the user to select the wanted mode <strong>and</strong> features for the MAC<br />

<strong>and</strong> the DMA controller.<br />

Figure 284. ETH block diagram<br />

AHB Bus<br />

AHB Master interface<br />

DMA<br />

TX<br />

DMA<br />

FIFO<br />

RX<br />

DMA<br />

FIFO<br />

Media<br />

Access<br />

Control<br />

MAC 802.3<br />

RMII<br />

Interface<br />

MII<br />

Select<br />

MDC<br />

AHB Slave interface<br />

DMA<br />

Control<br />

& Status<br />

Registers<br />

Operation<br />

Mode<br />

Register<br />

MAC<br />

Control<br />

Registers<br />

MDIO<br />

ai15620<br />

27.4.1 Station management interface: SMI<br />

The station management interface (SMI) allows the application to access any PHY registers<br />

through a 2-wire clock <strong>and</strong> data lines. The interface supports accessing up to 32 PHYs.<br />

Doc ID 13902 Rev 9 841/995

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

Saved successfully!

Ooh no, something went wrong!