i.MXRT1170-EVK enet internal loopback

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MXRT1170-EVK enet internal loopback

ソリューションへジャンプ
1,879件の閲覧回数
igrinberg
Contributor II

Hi @kerryzhou ,

As discussed in this thread https://community.nxp.com/t5/i-MX-RT/i-MXRT1170-EVK-ethernet-example/m-p/1392480#M17754 I tried activating the loopback mode in the SDK example enet_txrx_transfer_cm7.

Attached is the updated changed enet_txrx_transfer.c file.

For which I receive the following output:

igrinberg_0-1642007382521.png

 

Please advise on what is the best way to test the internal loopback setting.

Thanks,
Ira.

0 件の賞賛
1 解決策
1,819件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @igrinberg ,

  Thanks for your patient.

   Today, I test it on my side,I modify the enet_txrx_transfer project, add this code:

config.miiMode = kENET_MiiMode; 
config.macSpecialConfig |= kENET_ControlMIILoopEnable;

As this will configure the RCR LOOP bit.

kerryzhou_0-1642668651181.png

kerryzhou_1-1642668671613.png

But seems still not enough, as I test it again, it doesn't work.

Could you please tell me why you need to use the internal loopback mode? As I know, this is seldom used, that's why our SDK code also use the external loopback.

In fact, you just need to find a network cable, then connect it like this:

Make loopback network cable:
568B standard Unknowed standard
J1 orange+white green+white
J2 orange green
J3 green+white orange+white
J4 blue brown+white
J5 blue+white brown
J6 green orange
J7 brown+white blue
J8 brown blue+white

Please help to check, whether you can use the external loopback.

If you still must need to use internal loopback, please also let me know, then I need to check with our internal expert.

 

Best Regards,

Kerry

 

元の投稿で解決策を見る

0 件の賞賛
7 返答(返信)
1,869件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @igrinberg ,

  Do you mean you test this code:

SDK_2_10_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\enet\txrx_transfer\cm7

  Please tell me which IDE you are using, I will also find time to check the details.

 

Best Regards,

kerry

0 件の賞賛
1,839件の閲覧回数
igrinberg
Contributor II

Hi @kerryzhou,
Any additional details I can provide to help?

Thanks,
Ira.

0 件の賞賛
1,833件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @igrinberg ,

  Sorry for my later reply, please give me more time, as I also need to check more details, and these days, really a lot of cases in the testing queue, so a little overflow, please give me more time, any updated information, I will let you know, thanks a lot for your understanding.

Best Regards,

Kerry

0 件の賞賛
1,827件の閲覧回数
igrinberg
Contributor II

Sure @kerryzhou , thanks!

Your help is much appreciated.

Ira.

0 件の賞賛
1,820件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @igrinberg ,

  Thanks for your patient.

   Today, I test it on my side,I modify the enet_txrx_transfer project, add this code:

config.miiMode = kENET_MiiMode; 
config.macSpecialConfig |= kENET_ControlMIILoopEnable;

As this will configure the RCR LOOP bit.

kerryzhou_0-1642668651181.png

kerryzhou_1-1642668671613.png

But seems still not enough, as I test it again, it doesn't work.

Could you please tell me why you need to use the internal loopback mode? As I know, this is seldom used, that's why our SDK code also use the external loopback.

In fact, you just need to find a network cable, then connect it like this:

Make loopback network cable:
568B standard Unknowed standard
J1 orange+white green+white
J2 orange green
J3 green+white orange+white
J4 blue brown+white
J5 blue+white brown
J6 green orange
J7 brown+white blue
J8 brown blue+white

Please help to check, whether you can use the external loopback.

If you still must need to use internal loopback, please also let me know, then I need to check with our internal expert.

 

Best Regards,

Kerry

 

0 件の賞賛
1,812件の閲覧回数
igrinberg
Contributor II

Hi @kerryzhou ,

Using external loopback example code works!
My initial goal was to test it using J4 port.

Can this be done using the same example?
Would you like me to open another thread on the topic?

Thanks,
Ira.

0 件の賞賛
1,854件の閲覧回数
igrinberg
Contributor II

Hi @kerryzhou ,
This is indeed the code I'm relying on to test the internal loopback feature.

Using IAR IDE.

Thanks,
Ira.

0 件の賞賛