MIMXRT1180-EVK with netc_switch_cm7 example doesn't work as I expected

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

MIMXRT1180-EVK with netc_switch_cm7 example doesn't work as I expected

1,352 次查看
pat24
Contributor II

Basically, I am using the examples with different IDE’s only to get for testing purpose. MIMXRT1180-EVK is the REV C3.

I am using the MIMXRT1180-EVK with the MCUXpresso IDE and the netc_switch_cm7 example and I can’t compile it.

The next step is the MIMXRT1180-EVK with the Keil uVision and the netc_switch_cm7 example. It compiles, run on the MIMXRT1180-EVK, and shows me the required output on the serial monitor without any issues. I have connected a D-Link DAP-1360 router to the Ethernet port 0 and my personal computer on the Ethernet port 2.

First, I tried the “ping> 192.168.0.50” on the command line with a connection over the separated ZyXEL EX-105A switch to the D-Link DAP-1360 router and it works as expected.

Second, I tried it with the MIMXRT1180-EVK and the switch example, which is located between ZyXEL EX-105A switch and D-Link DAP-1360 router. I can’t ping it anymore.

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

773 次查看
pat24
Contributor II

Sorry for the late response, and I named the Keil_uVision.png file incorrectly because it is a MCUXpresso.png. With MCUXpresso IDE it doesn't compile neither the netc_switch_cm7 nor the netc_switch_cm33. I deleted it and downloaded it again with the same result.

In the next step I tried it with the Keil uVision netc_switch_cm33 and it also doesn't work as I would expect. I can not ping the router.

The R469 is populate, and I found it on the MIMXRT1180-EVK.
The Keil_uVision_netc_swicht_cm33.png shows that the reset pins are set to 1. This means that the 74LVC1G07-Q100 module which is connected to the phy sets the phy reset pins to high-impedance.
It seams to me that the requied open-drain on the phy's reset pin is not available. Is this a reasonable possibility or do I have to change the 74LVC1G07-Q100 module on the MIMXRT1180-EVK. Please see the phy_reset.png

0 项奖励
回复

1,269 次查看
carlos_o
NXP TechSupport
NXP TechSupport

Hi @pat24 

Thanks for your post!

To properly run the example, it is needed to populate R469 and set reset pin as open-drain to complete the PHY hardware reset properly.

Could you confirm this is set properly? 

In addition, I was able to compile the example without problem with SDK 25.09 and MCUXpresso 25.6

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2265968%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%BD%BF%E7%94%A8%20netc_switch_cm7%20%E7%A4%BA%E4%BE%8B%E7%9A%84%20MIMXRT1180-EVK%20%E6%97%A0%E6%B3%95%E6%8C%89%E7%85%A7%E6%88%91%E7%9A%84%E9%A2%84%E6%9C%9F%E8%BF%90%E8%A1%8C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2265968%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%9F%BA%E6%9C%AC%E4%B8%8A%EF%BC%8C%E6%88%91%E4%BD%BF%E7%94%A8%E4%B8%8D%E5%90%8C%E9%9B%86%E6%88%90%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E7%9A%84%E7%A4%BA%E4%BE%8B%E5%8F%AA%E6%98%AF%E4%B8%BA%E4%BA%86%E6%B5%8B%E8%AF%95%E7%9B%AE%E7%9A%84%E3%80%82MIMXRT1180-EVK%20%E6%98%AF%20REV%20C3%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%E5%B8%A6%E6%9C%89%20MCUXpresso%20IDE%20%E7%9A%84%20MIMXRT1180-EVK%20%E5%92%8C%20netc_switch_cm7%20%E7%A4%BA%E4%BE%8B%EF%BC%8C%E4%BD%86%E6%97%A0%E6%B3%95%E7%BC%96%E8%AF%91%E3%80%82%3C%2FP%3E%3CP%3E%E4%B8%8B%E4%B8%80%E6%AD%A5%E6%98%AF%E4%BD%BF%E7%94%A8%20Keil%20uVision%20%E5%92%8C%20netc_switch_cm7%20%E7%A4%BA%E4%BE%8B%E7%9A%84%20MIMXRT1180-EVK%E3%80%82%E5%AE%83%E5%8F%AF%E4%BB%A5%E7%BC%96%E8%AF%91%EF%BC%8C%E5%9C%A8%20MIMXRT1180-EVK%20%E4%B8%8A%E8%BF%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E6%8D%A2%E6%9C%BA%E5%92%8C%20D-Link%20DAP-1360%20%E8%B7%AF%E7%94%B1%E5%99%A8%E4%B9%8B%E9%97%B4%E7%9A%84%E4%BA%A4%E6%8D%A2%E6%9C%BA%E7%A4%BA%E4%BE%8B%E8%BF%9B%E8%A1%8C%E4%BA%86%E5%B0%9D%E8%AF%95%E3%80%82%E6%88%91%E5%86%8D%E4%B9%9F%E4%B8%8D%E8%83%BD%20ping%20%E5%AE%83%E4%BA%86%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2265968%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E5%BC%80%E5%8F%91%E6%9D%BF%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2267045%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MIMXRT1180-EVK%20with%20netc_switch_cm7%20example%20doesn't%20work%20as%20I%20expected%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2267045%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241661%22%20target%3D%22_blank%22%3E%40pat24%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%96%E5%AD%90%EF%BC%81%3C%2FP%3E%0A%3CP%3E%E8%A6%81%E6%AD%A3%E7%A1%AE%E8%BF%90%E8%A1%8C%E8%AF%A5%E7%A4%BA%E4%BE%8B%EF%BC%8C%E9%9C%80%E8%A6%81%E5%A1%AB%E5%85%85%20R469%20%E5%B9%B6%E5%B0%86%20RESET%20%E5%BC%95%E8%84%9A%E8%AE%BE%E7%BD%AE%E4%B8%BA%E6%BC%8F%E6%9E%81%E5%BC%80%E8%B7%AF%EF%BC%8C%E6%89%8D%E8%83%BD%E6%AD%A3%E7%A1%AE%E5%AE%8C%E6%88%90%20PHY%20%E7%A1%AC%E4%BB%B6%20RESET%E3%80%82%3C%2FP%3E%0A%3CP%3E%E8%AF%B7%E7%A1%AE%E8%AE%A4%E8%AE%BE%E7%BD%AE%E6%98%AF%E5%90%A6%E6%AD%A3%E7%A1%AE%EF%BC%9F%20%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%AD%A4%E5%A4%96%EF%BC%8C%E6%88%91%E8%BF%98%E8%83%BD%E5%9C%A8%E4%BD%BF%E7%94%A8%20SDK%2025.09%20%E5%92%8C%20MCUXpresso%2025.6%20%E6%97%B6%E9%A1%BA%E5%88%A9%E7%BC%96%E8%AF%91%E7%A4%BA%E4%BE%8B%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292587%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MIMXRT1180-EVK%20with%20netc_switch_cm7%20example%20doesn't%20work%20as%20I%20expected%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292587%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%AF%B9%E4%B8%8D%E8%B5%B7%EF%BC%8C%E6%88%91%E7%BB%99%20Keil_uVision.png%20%E6%96%87%E4%BB%B6%E8%B5%B7%E9%94%99%E4%BA%86%E5%90%8D%E5%AD%97%EF%BC%8C%E5%9B%A0%E4%B8%BA%E5%AE%83%E6%98%AF%20MCUXpresso.png%E3%80%82%E4%BD%BF%E7%94%A8%20mcuXpresso%20IDE%20%E6%97%B6%EF%BC%8C%E5%AE%83%E6%97%A2%E6%97%A0%E6%B3%95%E7%BC%96%E8%AF%91%20netc_switch_cm7%20%E4%B9%9F%E6%97%A0%E6%B3%95%E7%BC%96%E8%AF%91%20netc_switch_cm33%E3%80%82%E6%88%91%E5%88%A0%E9%99%A4%E4%BA%86%E5%AE%83%EF%BC%8C%E7%84%B6%E5%90%8E%E9%87%8D%E6%96%B0%E4%B8%8B%E8%BD%BD%EF%BC%8C%E7%BB%93%E6%9E%9C%E8%BF%98%E6%98%AF%E4%B8%80%E6%A0%B7%E3%80%82%3C%2FP%3E%3CP%3E%E4%B8%8B%E4%B8%80%E6%AD%A5%EF%BC%8C%E6%88%91%E7%94%A8%20Keil%20uVision%20netc_switch_cm33%20%E8%BF%9B%E8%A1%8C%E4%BA%86%E5%B0%9D%E8%AF%95%EF%BC%8C%E7%BB%93%E6%9E%9C%E4%B9%9F%E4%B8%8D%E5%B0%BD%E5%A6%82%E4%BA%BA%E6%84%8F%E3%80%82%20%E6%88%91%E6%97%A0%E6%B3%95%20ping%20%E5%88%B0%E8%B7%AF%E7%94%B1%E5%99%A8%E3%80%82%3C%2FP%3E%3CP%3ER469%20%E5%B7%B2%E5%A1%AB%E5%85%85%EF%BC%8C%E6%88%91%E5%9C%A8%20MIMXRT1180-EVK%20%E4%B8%8A%E6%89%BE%E5%88%B0%E4%BA%86%E5%AE%83%E3%80%82%3CBR%20%2F%3EKeil_uVision_netc_swicht_cm33.png%20%E6%98%BE%E7%A4%BA%20RESET%20%E5%BC%95%E8%84%9A%E8%AE%BE%E7%BD%AE%E4%B8%BA%201%E3%80%82%E8%BF%99%E6%84%8F%E5%91%B3%E7%9D%80%E8%BF%9E%E6%8E%A5%E5%88%B0%20phy%20%E7%9A%84%2074LVC1G07-Q100%20%E6%A8%A1%E5%9D%97%E5%B0%86%20phy%20RESET%20%E5%BC%95%E8%84%9A%E8%AE%BE%E7%BD%AE%E4%B8%BA%E9%AB%98%E9%98%BB%E6%8A%97%E3%80%82%3CBR%20%2F%3E%E5%9C%A8%E6%88%91%E7%9C%8B%E6%9D%A5%EF%BC%8Cphy%20%E7%9A%84%20RESET%20%E5%BC%95%E8%84%9A%E4%B8%8A%E6%89%80%E9%9C%80%E7%9A%84%E5%BC%80%E6%BC%8F%E6%9E%81%E4%B8%8D%E5%8F%AF%E7%94%A8%E3%80%82%E8%BF%99%E6%98%AF%E5%90%A6%E5%90%88%E7%90%86%EF%BC%8C%E8%BF%98%E6%98%AF%E6%88%91%E5%BF%85%E9%A1%BB%E6%9B%B4%E6%8D%A2%20MIMXRT1180-EVK%20%E4%B8%8A%E7%9A%84%2074LVC1G07-Q100%20%E6%A8%A1%E5%9D%97%EF%BC%9F%E8%AF%B7%E5%8F%82%E9%98%85%20phy_reset.png%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E