Problems accessing KSZ8863RLL registers via SMI from i.MX RT1172

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problems accessing KSZ8863RLL registers via SMI from i.MX RT1172

跳至解决方案
380 次查看
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 项奖励
回复
1 解答
290 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jagarcia,

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

BR,
Edwin.

在原帖中查看解决方案

1 回复
291 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jagarcia,

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

BR,
Edwin.