IMX7DRM Memory map/register definition

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

IMX7DRM Memory map/register definition

跳至解决方案
1,966 次查看
andreas_vorderl
Contributor I

Hi,

I am trying to port the ethernet interface to FreeRTOS and I am now in the process of creating various data structures to represent the memory map/registers.
However, I found some differences between the bit definition of almost all registers in the MCIMX7D_M4.h (https://www.nxp.com/webapp/Download?colCode=FreeRTOS_iMX7D_1.0.1_LINUX&appType=license ) file and the IMX7DRM reference manual (Rev. 1, 01/2018) (https://www.nxp.com/webapp/Download?colCode=IMX7DRM ). E.g. following register: 11.1.5.9 Receive Control Register (ENETx_RCR).

It would be greate to know if the reference manual is correct or the original MCIMX7D_M4.h file. In detail, in the file MCIMX7D_M4.h bit 0 has been exchanged to bit 31. And vice versa.


Thanks in advance.

Best regards,
Andreas

标签 (1)
0 项奖励
回复
1 解答
1,860 次查看
Yuri
NXP Employee
NXP Employee

Hi,

  the MCIMX7D_M4.h  file is correct: I mean bit masks for registers bit fields.

Regards,

Yuri.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,860 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  The following Community thread can clarify the issue.

https://community.nxp.com/message/1178838 

Regards,

Yuri.

0 项奖励
回复
1,860 次查看
andreas_vorderl
Contributor I

Hi,

thanks a lot,
but why are these registers defined in big endian? The registers are defined in the same way for i.MX6 and i.MX8. Only the i.MX7 is different.

Regards,
Andreas

0 项奖励
回复
1,861 次查看
Yuri
NXP Employee
NXP Employee

Hi,

  the MCIMX7D_M4.h  file is correct: I mean bit masks for registers bit fields.

Regards,

Yuri.

0 项奖励
回复