This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DP83822I: Reading STRAP LATCH_IN REGISTER #1 (SOR 1) of DP83822I

Part Number: DP83822I

Hi,

   I need to read the register 0x0467 (SOR 1) using MDIO commands.

  I observe the following when i try to read the register,

-----------------

=> mdio read ethernet@4a100000 1
Reading from bus ethernet@4a100000
PHY at address 1:
1 - 0x786d
=>
Reading from bus ethernet@4a100000
PHY at address 1:
1 - 0x786d
=> mdio read ethernet@4a100000 1.17
Reading from bus ethernet@4a100000
PHY at address 1:
1.23 - 0x49
=>
Reading from bus ethernet@4a100000
PHY at address 1:
1.23 - 0x41
=> mdio read ethernet@4a100000 1.11
Reading from bus ethernet@4a100000
PHY at address 1:
1.17 - 0x108
=>
Reading from bus ethernet@4a100000
PHY at address 1:
1.17 - 0x108
=> mdio read ethernet@4a100000 1.0468
Reading from bus ethernet@4a100000
PHY at address 1:
Error
=>
Reading from bus ethernet@4a100000
PHY at address 1:
Error
=> mdio read ethernet@4a100000 0468
Reading from bus ethernet@4a100000
PHY at address 1:
Error
=>
Reading from bus ethernet@4a100000
PHY at address 1:
Error

----------------

I am facing difficulty in understanding the address of these registers. 

I provide 1.11 and get the register 1.17

"mdio read ethernet@4a100000 1.11
Reading from bus ethernet@4a100000
PHY at address 1:
1.17 - 0x108 

Kindly provide the MDIO command to read the STRAP LATCH_IN REGISTER #1 (SOR 1).

Also mention the mapping of the addresses for these registers.

Regards,

Nanda

  • Hi Nanda,

    When you are saying 1.11, is this in decimal or hex form?
    To read register 'SOR1' you need to do the following steps:

    write 0x001F to register 0xD
    write 0x467 to register 0xE
    write 0x401F to register 0xD
    read register 0xE for the value contained within register 0x467