Hi @ufedor
this issue is about internal circuitry of the LX2160A, the techsupport analyis is done already. To clarify, I'm asking regarding accessing the *on-chip* SGMII PCS through the *on-chip* MDIO interface. No board signals are involved at all.
As far as logs are concerned, I'm simply trying to access MDIO registers - reproduced in u-boot here to eliminate other possible sources of problems:
=> echo addr_write; mw.l 0x8c37030 40009548; md.l 0x8c37030 1; mw.l 0x8c37034 3; mw.l 0x8c3703c 4; md.l 0x8c37030 1
addr_write
00009548
40009548
=> echo reg_read; mw.l 0x8c37030 40009548; md.l 0x8c37030 1; mw.l 0x8c37034 3; mw.l 0x8c37034 0x8003; md.l 0x8c37030 1; md.l 0x8c37038 1
reg_read
00009548
40009548
00000000
The expected result (last line) is 000001A0 according to reference manual 26.9.2.1.1.1.
In the meantime I have noticed that there is a response on Clause 22 access, but it does not match any documented interface in the reference manual(?!?)
Can you please clarify what the necessary sequence is to access the PCS / Backplane AN / Vendor specific registers for the SGMII interface? The instructions in 26.10.1.1 seem to be insufficient (it doesn't seem possible to access the SGMII IF Mode register to begin with.) Is there some further initialization needed? Does the SGMII interface not support Clause 45 access/what access method should be used? (The reference manual is extremely unspecific on this!)
Alternatively, can you please confirm 1G SGMII works on the LX2160A RDB and point me to example initialization/setup code?
equi