Is loopback supported in RMII mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Is loopback supported in RMII mode

跳至解决方案
1,423 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,283 次查看
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 项奖励
回复
3 回复数
1,284 次查看
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 项奖励
回复
1,283 次查看
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 项奖励
回复
1,283 次查看
asmaa
Contributor V

Yup. I was confirming. thank you.

0 项奖励
回复