RM0033
160 ns each, and the minimum period for MDC must be 400 ns. In idle state the SMI
management interface drives the MDC clock signal low.
•
MDIO: data input/output bitstream to transfer status information to/from the PHY device
synchronously with the MDC clock signal
SMI frame format
The frame structure related to a read or write operation is shown in
transmission must be from left to right.
Read
Write
The management frame consists of eight fields:
•
Preamble: each transaction (read or write) can be initiated with the preamble field that
corresponds to 32 contiguous logic one bits on the MDIO line with 32 corresponding
cycles on MDC. This field is used to establish synchronization with the PHY device.
•
Start: the start of frame is defined by a <01> pattern to verify transitions on the line
from the default logic one state to zero and back to one.
•
Operation: defines the type of transaction (read or write) in progress.
•
PADDR: the PHY address is 5 bits, allowing 32 unique PHY addresses. The MSB bit of
the address is the first transmitted and received.
•
RADDR: the register address is 5 bits, allowing 32 individual registers to be addressed
within the selected PHY device. The MSB bit of the address is the first transmitted and
received.
•
TA: the turn-around field defines a 2-bit pattern between the RADDR and DATA fields
to avoid contention during a read transaction. For a read transaction the MAC controller
drives high-impedance on the MDIO line for the 2 bits of TA. The PHY device must
drive a high-impedance state on the first bit of TA, a zero bit on the second one.
Ethernet (ETH): media access control (MAC) with DMA controller
Figure 314. SMI interface signals
STM32 MCU
Table 139. Management frame format
Preamble
Start
Operation PADDR RADDR
(32 bits)
1... 1
01
1... 1
01
MDC
MDIO
Management frame fields
10
ppppp
01
ppppp
RM0033 Rev 8
External
PHY
Table
13, the order of bit
TA
Data (16 bits)
rrrrr
Z0
ddddddddddddddd
rrrrr
10
ddddddddddddddd
ai15621b
Idle
Z
Z
843/1378
957
Need help?
Do you have a question about the STM32F205 series and is the answer not in the manual?
Questions and answers