how to add support for a different(LAN9303) phy driver to MQX?

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

how to add support for a different(LAN9303) phy driver to MQX?

1,414 次查看
akshaymn
Contributor I

Hi,

I am using K70 tower board and MQX for my project. I was using the serial board's micrel ksz8041 chip as my phy driver. i have replaced the LAN IC from Micrel to Microchip's LAN9303. Now I want to add the LAN9303 phy driver to MQX and test its ping functionality. Any help on integrating  a custom phy driver into MQX is appreciated.

Thanks,

Akshay

标签 (1)
0 项奖励
回复
2 回复数

1,042 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Akshay:

I think you need to change the driver, please take special attention to the module

init_enet.c (C:\Freescale\Freescale_MQX_4_2\mqx\source\bsp\[twrk60n512])

phy_ksz8041.h and phy_ksz8041.c  here is where the phy is initialized.

The changes should apply according to the specifications of your Phy.

After you perform all the necessary changes in the BSP, it is necessary to recompile the libraries.

Hope this information is helpful, Have a nice day!

Regards

Daniel

0 项奖励
回复

1,042 次查看
akshaymn
Contributor I

Hi Daniel,

I had already made the required changes in the files init_enet.c phy_ksz8041.c and phy_ksz8041.h. I then recompiled the MQX libraries too.

What i am trying to achieve is to perform a simple ping operation using the LAN9303 chip. Even after doing the steps mentioned i am not able to ping my tower board which is connected to LAN9303. But I am able to read the LAN9303 Virtual PHY registers. I'm not able to understand why i'm able to ping?

Thanks,

Akshay

0 项奖励
回复