Skip to main content

MDIO

These commands are available three ways — in the FREE-WILi GUI app, in a serial terminal, and on the device itself. See Connecting it to a computer for how to reach them.

SFP Poll

Polls for SFP Modules on the I2C bus. If any are found, return the PHY's temperature in Celsius and Signal Quality Indicator (SQI)

How to use it — press a. At the prompt, enter: Checking for SFP Module.

SFP Read

Reads a value from a register on the specified device address

How to use it — press b. At the prompt, enter: Hex: MDIO Device Address, Register Address Bytes to read Separated by Spaces.

What you enterdevice_address, register_address.

SFP Write

Writes a value to a register on the specified device address

How to use it — press c. At the prompt, enter: Hex: MDIO Device Address, Register Address Bytes, Data Bytes to write Separated by Spaces.

What you enterdevice_address, register_address, data_bytes.

SFP Read-Modify-Write

Read-Modify-Writes a value to a register on the specified device address. '1' bits in the mask indicate an overwrite

How to use it — press e. At the prompt, enter: Hex: MDIO Device Address, Register Address Bytes, Mask Bytes, Data Bytes to read-modify-write Separated by Spaces.

What you enterdevice_address, register_address, mask_bytes, data_bytes.

PHY Address Poll

Polls all 32 possible PHY addresses. Test for a response from status register. Returns PHY addresses and clause compatibility

How to use it — press y. At the prompt, enter: Checking for PHYs.

Clause 22 Read

Reads a value from a register belonging to a Clause-22-Compatible-PHY

How to use it — press g. At the prompt, enter: Hex: PHY Address, Register Address to read Separated by Spaces.

What you enterphy_address, register_address.

Clause 22 Write

Writes a value to a register belonging to a Clause-22-Compatible-PHY

How to use it — press i. At the prompt, enter: Hex: PHY Address, Register Address, Data Bytes to write Separated by Spaces.

What you enterphy_address, register_address, data_bytes.

Clause 22 Read-Modify-Write

Read-Modify-Writes a value to a register belonging to a Clause-45-Compatible-PHY. '1' bits in the mask indicate an overwrite

How to use it — press j. At the prompt, enter: Hex: PHY Address, Register Address, Mask Bytes, Data Bytes to read-modify-write Separated by Spaces.

What you enterphy_address, register_address, mask_bytes, data_bytes.

Clause 45 Read

Reads a value from a register belonging to a Clause-45-Compatible-PHY

How to use it — press k. At the prompt, enter: Hex: PHY Address, MMD Address, Register Address to read Separated by Spaces.

What you enterphy_address, mmd_address, register_address.

Clause 45 Write

Writes a value to a register belonging to a Clause-45-Compatible-PHY

How to use it — press l. At the prompt, enter: Hex: PHY Address, MMD Address, Register Address, Data Bytes to write Separated by Spaces.

What you enterphy_address, mmd_address, register_address, data_bytes.

Clause 45 Read-Modify-Write

Read-Modify-Writes a value to a register belonging to a Clause-45-Compatible-PHY. '1' bits in the mask indicate an overwrite

How to use it — press m. At the prompt, enter: Hex: PHY Address, MMD Address, Register Address, Mask Bytes, Data Bytes to read-modify-write Separated by Spaces.

What you enterphy_address, mmd_address, register_address, mask_bytes, data_bytes.

Clause 22 Access to Clause 45 Read

Reads a value from a register belonging to a Clause-45-Emulation-Compatible-PHY

How to use it — press n. At the prompt, enter: Hex: PHY Address, MMD Address, Register Address to read Separated by Spaces.

What you enterphy_address, mmd_address, register_address.

Clause 22 Access to Clause 45 Write

Writes a value to a register belonging to a Clause-45-Emulation-Compatible-PHY

How to use it — press o. At the prompt, enter: Hex: PHY Address, MMD Address, Register Address, Data Bytes to write Separated by Spaces.

What you enterphy_address, mmd_address, register_address, data_bytes.

Clause 22 Access to Clause 45 Read-Modify-Write

Read-Modify-Writes a value to a register belonging to a Clause-45-Emulation-Compatible-PHY. '1' bits in the mask indicate an overwrite

How to use it — press p. At the prompt, enter: Hex: PHY Address, MMD Address, Register Address, Mask Bytes, Data Bytes to read-modify-write Separated by Spaces.

What you enterphy_address, mmd_address, register_address, mask_bytes, data_bytes.

See also: MDIO panel — the on-screen panel for this.