Table 186. Management Frame Format; Figure 351. Smi Interface Signals - ST STM32F405 Reference Manual

Hide thumbs Also See for STM32F405:
Table of Contents

Advertisement

RM0090
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 351. SMI interface signals

STM32 MCU

Table 186. Management frame format

Preamble
Start
Operation PADDR RADDR
(32 bits)
1... 1
01
1... 1
01
RM0090 Rev 18
MDC
External
MDIO
Management frame fields
10
ppppp
rrrrr
01
ppppp
rrrrr
PHY
Table
13, the order of bit
TA
Data (16 bits)
Z0
ddddddddddddddd
10
ddddddddddddddd
ai15621b
Idle
Z
Z
1127/1749
1239

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F405 and is the answer not in the manual?

Table of Contents

Save PDF