Ethernet on i.MX RT 1020 is there a way I can control the ethernet port on / off functionality

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

Ethernet on i.MX RT 1020 is there a way I can control the ethernet port on / off functionality

497 Views
Deepa-khatri2588
Contributor I

Hi, 

I am using Ethernet on the i.MX RT 1020 and I am planning to use multiple of RT1020. Is there a way where I can just activate one Ethernet switch and deactivate others .That is is there a possibility to activate , deactivate the ethernet switch via s/w or h/w.

0 Kudos
Reply
3 Replies

450 Views
mayliu1
NXP Employee
NXP Employee

HI @Deepa-khatri2588 ,

Thank you so much for your interest in our products and for using our community.

Please note that  RT1020 integrates an Ethernet MAC but requires an external PHY, as no internal PHY is included.
Therefore, Ethernet enable/disable control should be considered at two levels: external PHY control and internal MAC control.
1: If the PHY on your board supports power‑down control via MDIO, software can manage it through the MDIO interface. Alternatively, if the PHY RESET pin is connected to a GPIO, the PHY can be reset or held in reset.
2:  The ENET MAC can be controlled by the Ethernet Control Register (ECR):
You can disables the MAC or set MAC into sleep mode.
Snipaste_2026-04-02_17-36-35.png
Wish it helps you
Best Regards
MayLiu
0 Kudos
Reply

440 Views
Deepa-khatri2588
Contributor I

@mayliu1 Thanks for the info , Where can i find the document with register details .I did check the data sheet and couldn't find any thing related to the registers.

0 Kudos
Reply

425 Views
mayliu1
NXP Employee
NXP Employee

Please open the link below, and download the IMXRT1020RM file.

https://www.nxp.com/products/i.MX-RT1020

Snipaste_2026-04-03_09-43-58.png

 

0 Kudos
Reply