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

●<br />

that follows the final nibble. In order to receive the frame correctly, the MII_RX_DV<br />

signal must encompass the frame, starting no later than the SFD field.<br />

MII_RX_ER: receive error must be asserted for one or more clock periods<br />

(MII_RX_CLK) to indicate to the MAC sublayer that an error was detected somewhere<br />

in the frame. This error condition must be qualified by MII_RX_DV assertion as<br />

described in Table 192.<br />

Table 191.<br />

TX interface signal encoding<br />

MII_TX_EN MII_TXD[3:0] Description<br />

0 0000 through 1111 Normal inter-frame<br />

1 0000 through 1111 Normal data transmission<br />

Table 192.<br />

RX interface signal encoding<br />

MII_RX_DV MII_RX_ERR MII_RXD[3:0] Description<br />

0 0 0000 through 1111 Normal inter-frame<br />

0 1 0000 Normal inter-frame<br />

0 1 0001 through 1101 Reserved<br />

0 1 1110 False carrier indication<br />

0 1 1111 Reserved<br />

1 0 0000 through 1111 Normal data reception<br />

1 1 0000 through 1111 Data reception with errors<br />

MII clock sources<br />

To generate both TX_CLK <strong>and</strong> RX_CLK clock signals, the external PHY must be clocked<br />

with an external 25 MHz as shown in Figure 289. Instead of using an external 25 MHz<br />

quartz to provide this clock, the STM32F107xx microcontroller can output this signal on its<br />

MCO pin. In this case, the PLL multiplier has to be configured so as to get the desired<br />

frequency on the MCO pin, from the 25 MHz external quartz.<br />

846/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!