MIMXRT1180-EVK How to use multiple ethernet connections using Zephyr

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

MIMXRT1180-EVK How to use multiple ethernet connections using Zephyr

280 Views
vikhyath
Contributor I

Hello

I am trying to setup my MIMXRT1180-EVK using 2 ethernet ports using Zephyr, one of which I will be using MODBUS to connect directly to the slave and the other to connect to the internet to access the NTP server to obtain time for my custom payload.
I am able to connect to the internet when connecting to the ENET4 port of the board, but when I connect another cable to ENET0, for the sake of MODBUS, and then try to assign an IP, it is not accepting it. I also tried to assign a MAC address to the port, yet it is not being detected in the Zephyr serial shell. I have enabled all the switch ports in the dtsi file. Also, I am unable to connect to the internet when connecting the ethernet cable to ENET0.
I am using Zephyr version 4.2 with sdk0.17.2

I would greatly appreciate it if someone could help me find a solution for this.

MIMXRT1180-EVK  ZEPHYR-OS-EDGE

0 Kudos
Reply
2 Replies

220 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @vikhyath ,

Thanks for your interest in NXP MIMXRT series!

Feature requests related to Zephyr are currently supported through the official GitHub repository. You can create a new request through this link. Additionally, I've tried to find relevant resources for you. This Chinese documentation is similar to your process thus it is based on the RT1170-EVK. I hope this resource will be helpful for your project.

Best regards,
Gavin

0 Kudos
Reply

217 Views
vikhyath
Contributor I

Hello @Gavin_Jia 
Thank you for your reply. I will look in the documentation shared by you. Thank you for sharing it. I will post the request on the Zephyr GitHub.

Best regards, 
Vikhyath

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2195469%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMIMXRT1180-EVK%20How%20to%20use%20multiple%20ethernet%20connections%20using%20Zephyr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195469%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20trying%20to%20setup%20my%20MIMXRT1180-EVK%20using%202%20ethernet%20ports%20using%20Zephyr%2C%20one%20of%20which%20I%20will%20be%20using%20MODBUS%20to%20connect%20directly%20to%20the%20slave%20and%20the%20other%20to%20connect%20to%20the%20internet%20to%20access%20the%20NTP%20server%20to%20obtain%20time%20for%20my%20custom%20payload.%3CBR%20%2F%3EI%20am%20able%20to%20connect%20to%20the%20internet%20when%20connecting%20to%20the%20ENET4%20port%20of%20the%20board%2C%20but%20when%20I%20connect%20another%20cable%20to%20ENET0%2C%20for%20the%20sake%20of%20MODBUS%2C%20and%20then%20try%20to%20assign%20an%20IP%2C%20it%20is%20not%20accepting%20it.%20I%20also%20tried%20to%20assign%20a%20MAC%20address%20to%20the%20port%2C%20yet%20it%20is%20not%20being%20detected%20in%20the%20Zephyr%20serial%20shell.%20I%20have%20enabled%20all%20the%20switch%20ports%20in%20the%20dtsi%20file.%20Also%2C%20I%20am%20unable%20to%20connect%20to%20the%20internet%20when%20connecting%20the%20ethernet%20cable%20to%20ENET0.%3CBR%20%2F%3EI%20am%20using%20Zephyr%20version%204.2%20with%20sdk0.17.2%3CBR%20%2F%3E%3CBR%20%2F%3EI%20would%20greatly%20appreciate%20it%20if%20someone%20could%20help%20me%20find%20a%20solution%20for%20this.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FMIMXRT1180-EVK%2Fpd-p%2FMIMXRT1180-EVK%22%20class%3D%22lia-product-mention%22%20data-product%3D%222925-1%22%20target%3D%22_blank%22%3EMIMXRT1180-EVK%3C%2FA%3E%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FZEPHYR-OS-EDGE%2Fpd-p%2FZEPHYR-OS-EDGE%22%20class%3D%22lia-product-mention%22%20data-product%3D%222682-1%22%20target%3D%22_blank%22%3EZEPHYR-OS-EDGE%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2196586%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MIMXRT1180-EVK%20How%20to%20use%20multiple%20ethernet%20connections%20using%20Zephyr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2196586%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203261%22%20target%3D%22_blank%22%3E%40Gavin_Jia%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EThank%20you%20for%20your%20reply.%20I%20will%20look%20in%20the%20documentation%20shared%20by%20you.%20Thank%20you%20for%20sharing%20it.%20I%20will%20post%20the%20request%20on%20the%20Zephyr%20%3CSPAN%3EGitHub.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2C%26nbsp%3B%3CBR%20%2F%3EVikhyath%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2196459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MIMXRT1180-EVK%20How%20to%20use%20multiple%20ethernet%20connections%20using%20Zephyr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2196459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251756%22%20target%3D%22_blank%22%3E%40vikhyath%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20interest%20in%20NXP%20MIMXRT%20series!%3C%2FP%3E%0A%3CP%3EFeature%20requests%20related%20to%20Zephyr%20are%20currently%20supported%20through%20the%20official%20GitHub%20repository.%20You%20can%20create%20a%20new%20request%20through%20this%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fissues%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Elink%3C%2FA%3E.%20Additionally%2C%20I've%20tried%20to%20find%20relevant%20resources%20for%20you.%20This%20Chinese%20%3CA%20href%3D%22https%3A%2F%2Fmp.weixin.qq.com%2Fs%2FzdHBI_TgO0xR5rzughBU0g%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E%20is%20similar%20to%20your%20process%20thus%20it%20is%20based%20on%20the%20RT1170-EVK.%20I%20hope%20this%20resource%20will%20be%20helpful%20for%20your%20project.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EGavin%3C%2FP%3E%3C%2FLINGO-BODY%3E