PHY external loopback test setting

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

PHY external loopback test setting

1,944 Views
linlin1225
Contributor I

Dear NXP, 

I am using S32K148EVB to prototype a test bench setup, while I have some question related to external loopback test on PHY. I made a board to interact with S32K148EVB via existing Samtec connector like figure below.

linlin1225_0-1670427402123.png

I aim to do PHY external loopback test on TJA110 as datasheet mention below with MII mode and compare the transmit eth frame and recev. eth frame.

linlin1225_1-1670427820669.png

I use the 4.0.1 SDK example code (enet_loopback) as a start. Add Initialization for PHY and register setting of TJA1100 which are good, however, I couldn't send data to my TJA1100 which I suspect my ENET init config was wrong.

For this test, I only changed .miiMode from ENET_RMII_MODE to ENET_MII_MODE and leave .rxConfig stays same as figure below.

linlin1225_2-1670428462733.png

I am wondering is there any suggestion how to initialize the ENET to realize the function I want? 

should I also set .rxConfig = 0 and enable something else.?

 

Best regards

 

 

 

0 Kudos
Reply
1 Reply

1,926 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, the .rxConfig should be 0 to do not use internal loopback on ENET.

BR, Petr

0 Kudos
Reply