Is loopback supported in RMII mode

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

Is loopback supported in RMII mode

Jump to solution
1,422 Views
asmaa
Contributor V

Hi Everyone,

I am using MCIMX6G3 in non linux mode. I want to test ethernet driver in RMII mode. I am using ENET2.

Do MCIMX6G3 supports loopback with PHY in RMII mode?

Regards,

Asma

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,282 Views
igorpadykov
NXP Employee
NXP Employee

Hi Asma

seems it is not supported as sect.22.5.9 Receive Control Register (ENETx_RCR)

i.MX6UL Reference Manual describes it: LOOP, in RMII_MODE must be written to 0.
0 Loopback disabled.

https://www.nxp.com/webapp/Download?colCode=IMX6ULRM 

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

View solution in original post

0 Kudos
Reply
3 Replies
1,283 Views
igorpadykov
NXP Employee
NXP Employee

Hi Asma

seems it is not supported as sect.22.5.9 Receive Control Register (ENETx_RCR)

i.MX6UL Reference Manual describes it: LOOP, in RMII_MODE must be written to 0.
0 Loopback disabled.

https://www.nxp.com/webapp/Download?colCode=IMX6ULRM 

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

0 Kudos
Reply
1,282 Views
asmaa
Contributor V

Hi igorpadykov‌, naoumgitnik

https://community.nxp.com/thread/318899.

Can I get the header files for the source code that has been shared on the above link. 

#include "enet.h"
#include "eth.h"
#include "macnet.h"/*register definition*/
#include "macnet_hal.h"/*SoC implementation*/

I am working on implementing bare metal program for ethernet MAC RMII mode on MCIMX6G3. looks like the code that you have shared on the above link is relevant to my dev.

Or can I get the freescale driver for MAC on IMX6. I found imx_enet.c on searching google, but I am not sure if its correct?

Regards,

Asma

0 Kudos
Reply
1,282 Views
asmaa
Contributor V

Yup. I was confirming. thank you.

0 Kudos
Reply