2 network interfaces with i.MX RT1060

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

2 network interfaces with i.MX RT1060

Jump to solution
3,053 Views
rans
Senior Contributor I

Hello,

We consider using i.MX rt1060 instead of i.MX RT1050,

One of the reason is its multiple ethernet ports.

Yet, we see that its EVB comes with only one port. This means we can't verify connection on 2 ethernet ports.

We are also not sure if the software freeRTOS/lwip and MCUXpresso SDK drivers , supports multiple network interfaces.

Does anyone knows if it is supported in the software package (SDK driver and lwip) ?

Thank you,

ranran

Labels (2)
1 Solution
2,419 Views
igorpadykov
NXP Employee
NXP Employee

Hi ranran

yes processor support it.

 Best regards
igor

View solution in original post

6 Replies
1,829 Views
simosilva
Contributor I

Hi,
have you found some solution?
In MCUXpresso nor ConfigTool I see no way to initialize the two ENET and ENET2 to work together, just pin configuration, but for example LWIP setting let me add just a single network interface "netif0" and not a second one..
Need support from NXP

0 Kudos
2,419 Views
hemant_sharma
Contributor I

hii..

 Can you please help me out to clear some point.

1. Can I use ENET0 and ENET1 simultaneously and how??

2. Is hardware support this if i have only one physical RJ45 connector??

0 Kudos
2,419 Views
igorpadykov
NXP Employee
NXP Employee

Hi ranran

both enet are supported (seems not simultaneously, using #if defined(ENET2))

in sdk and  AN12149  Implementing the IEEE 1588 V2 on i.MX RT Using PTPd, FreeRTOS,

and lwIP TCP/IP stack available on link

i.MX RT1060 MCU/Applications Crossover Processor | Arm® Cortex®-M7 @600 MHz, 1MB SRAM |NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,419 Views
rans
Senior Contributor I

Hi Igor,

In order to work with 2 emac simultaneously, I understand we need to modify sdk driver code.

Does Hadrware support working with 2 emac simultaneously ?

Thank you,

ranran

0 Kudos
2,420 Views
igorpadykov
NXP Employee
NXP Employee

Hi ranran

yes processor support it.

 Best regards
igor

2,419 Views
rans
Senior Contributor I

Hi Igor,

Reading sdk driver code, it seems that for imxrt106x ENET2  is defined:

#define ENET2                                    ((ENET_Type *)ENET2_BASE)

I also find:

err_t ethernetif1_init(struct netif *netif)
{
static struct ethernetif ethernetif_1;
...

ethernetif_1.RxBuffDescrip = &(rxBuffDescrip_1[0]);
...

return ethernetif_init(netif, &ethernetif_1, 1U, (ethernetif_config_t *)netif->state);
}

So, I think the driver might already support working concurrently with 2 emacs.

Does it make sense ?

Thank you,

ranran

0 Kudos