Problems accessing KSZ8863RLL registers via SMI from i.MX RT1172

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems accessing KSZ8863RLL registers via SMI from i.MX RT1172

Jump to solution
148 Views
jagarcia
Contributor II

Hi. I have a board that has a KSZ8863RLL connected to an iMXRT1172. We are using MDIO as the magement interface. We have no problem accessing the MIIM registers of this switch using the ENET_MDIORead function from the SDK. We have modified the driver to access the extended registers via SMI, using the SMI frame format described on the KSZ's datasheet. But the 16 lower bits from the ENET's MMFR register bits show allways as 0, as if the read operation is not triggered.

I understand from this post that this is possible to use the MDIO interface this way without bit banging:
https://community.nxp.com/t5/i-MX-RT/RT1062-communicating-with-KSZ8895-switch-in-SMI-mode/m-p/123003...

Is this achiaveable without bit banging? Do you have any pointers to something we may be missing?
Thank you.

0 Kudos
Reply
1 Solution
58 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jagarcia,

I'm afraid the bit banging solution is required for reads.

BR,
Edwin.

View solution in original post

1 Reply
59 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jagarcia,

I'm afraid the bit banging solution is required for reads.

BR,
Edwin.