ethernet problem on custom board with MQX 3.8.1

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

ethernet problem on custom board with MQX 3.8.1

跳至解决方案
1,257 次查看
khoanguyen
Contributor I

Hi,

My project includes creating a custom board with ethernet and ADC functionality, with MQX 3.8.1, CW 10.2, and the k60 tower development.

So far the custom board has been successful with all but the ethernet transceiver. We've chosen the same ethernet transceiver on the K60 dev kit, but we're now at a standstill on what could be going wrong since we followed the schematics and double checked them.

The custom board is able to have code flashed onto and run successfully on MQX demos, except for any ethernet required demos. When an ethernet cord is plugged into the custom board and a computer, neither of the lights are on so there is no connection, but I'm assuming this is a hardware problem.

I was wondering if this could be a hardware problem or software problem? Do the BSP/PSP config files have to be reformatted to the custom board, even though it works with the MQX ADC demo using the kinetis bsp/psp files?

Thanks,

Khoa Nguyen


标记 (3)
0 项奖励
回复
1 解答
849 次查看
macl
Senior Contributor I

Hi,

Is the ethernet phy bootstrap resistor configuration set the same?  Are you using RMII or MII mode?  On the TWR-K60 + TWR-SER modules, for RMII, the 50MHz clock on the TWR-SER is fed to both the K60 MCU and ethernet phy clock input to keep them in sync.  MII clocking is a bit different.

If you use the same phy and the same mode, then I don't think any changes would be necessary in the BSP.  Just make sure the phy is working.

Best of luck,

Mac

在原帖中查看解决方案

0 项奖励
回复
1 回复
850 次查看
macl
Senior Contributor I

Hi,

Is the ethernet phy bootstrap resistor configuration set the same?  Are you using RMII or MII mode?  On the TWR-K60 + TWR-SER modules, for RMII, the 50MHz clock on the TWR-SER is fed to both the K60 MCU and ethernet phy clock input to keep them in sync.  MII clocking is a bit different.

If you use the same phy and the same mode, then I don't think any changes would be necessary in the BSP.  Just make sure the phy is working.

Best of luck,

Mac

0 项奖励
回复