基于MPC5746R的lwip例程如果网卡芯片换成TJA1100HN,如何修改lwip中的网卡驱动基于MPC5746R的lwip例程如果网卡芯片换成TJA1100HN,如何修改lwip中的网卡驱动配置

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

基于MPC5746R的lwip例程如果网卡芯片换成TJA1100HN,如何修改lwip中的网卡驱动基于MPC5746R的lwip例程如果网卡芯片换成TJA1100HN,如何修改lwip中的网卡驱动配置

254 Views
xcln
Contributor I

mpc5746_lwip的example工程在开发板上可以正常运行,并且ping通,且tcp、udp均可实现,开发板所用的以太网芯片是dp83848,目前项目所采用mcu仍为mpc5746r_176pins,以太网芯片改为TJA1100,目前example程序可以烧录成功,但无法正常运行,无法ping通,请问需要如何修改相关配置,谢谢!

 

0 Kudos
1 Reply

228 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

example use no setting of PHY over SMI interface, so be sure the PHY is configured for similar mode using its pinstrapping.  
Example is using MII interface, thus set TJA1100 to normal MMI mode as well and Slave with autonomous operation. See chapter 6.11 Auto-configuration of the PHY during power-up via pin strapping of teh PHY datasheet.

BR, Petr

0 Kudos