IMX7 with KSZ8795CLX

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

IMX7 with KSZ8795CLX

1,045 次查看
davidsabalesky
Contributor I

I would like to know if anyone has used the KSZ8795 with an IMX7 processor.

Mii interface is correct and reading the registers of the KSZ PHY.

I am using RGMii interface.

I see TXC from SOM and RXC from PHY. I can change to TXC to 2.5MHz/25MHz for 10B/100B modes.

I understand that I need to generate a 125MHz clock for 1000B. However I should be able to test at 10B/100B modes.

I am having difficulty getting a valid ping in U-Boot. I want to test at the lowest level to validate the link.

I can test in U-boot as well in Linux.

In Linux I see the link as "ok" with no auto-negotiation yet cannot ping through the PHY to another device, my computer.

I believe that the link "ok" status is being set by just a valid Mii interface.

Can you set the TXC and RXC delays in IMX7 registers for RGMii?

Any help with reference schematics, setup for RGMii interface, etc will be helpful.

Thanks,
David

0 项奖励
回复
1 回复

910 次查看
igorpadykov
NXP Employee
NXP Employee

Hi David

for rgmii example one can look at i.MX7D EVK schematic

iMX7D-SABRE-DESIGNFILES

https://www.nxp.com/webapp/Download?colCode=iMX7D-SABRE-DESIGNFILES&appType=license 

linux/arch/arm/boot/dts/imx7d-sdb.dts

imx7d-sdb.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

Linux documentation
https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6ser...

for uboot ping may be useful to check

https://community.nxp.com/message/935848 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复