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 287. MDIO timing <strong>and</strong> frame structure - Read cycle<br />

MDC<br />

MDIO 32 1's 0 1 1 0 A4 A3 A2 A1 A0 R4 R3 R2 R1 R0 D15 D14 D1 D0<br />

Preamble<br />

Start<br />

of<br />

frame<br />

OP<br />

code<br />

PHY address Register address Turn<br />

around<br />

data<br />

Data to PHY<br />

Data from PHY<br />

ai15627<br />

SMI clock selection<br />

The MAC initiates the Management Write/Read operation. The SMI clock is a divided clock<br />

whose source is the application clock (AHB clock). The divide factor depends on the clock<br />

range setting in the MII Address register.<br />

Table 190 shows how to set the clock ranges.<br />

Table 190.<br />

Clock range<br />

Selection AHB clock MDC clock<br />

0000 60-72 MHz AHB clock / 42<br />

0001 Reserved -<br />

0010 20-35 MHz AHB clock / 16<br />

0011 35-60 MHz AHB clock / 26<br />

0100, 0101, 0110, 0111 Reserved -<br />

27.4.2 Media-independent interface: MII<br />

The media-independent interface (MII) defines the interconnection between the MAC<br />

sublayer <strong>and</strong> the PHY for data transfer at 10 Mbit/s <strong>and</strong> 100 Mbit/s.<br />

844/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!