IMX7DRM Memory map/register definition

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

IMX7DRM Memory map/register definition

Jump to solution
1,020 Views
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

Labels (1)
0 Kudos
1 Solution
914 Views
Yuri
NXP Employee
NXP Employee

Hi,

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

Regards,

Yuri.

View solution in original post

0 Kudos
3 Replies
914 Views
Yuri
NXP Employee
NXP Employee

Hello,

  The following Community thread can clarify the issue.

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

Regards,

Yuri.

0 Kudos
914 Views
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 Kudos
915 Views
Yuri
NXP Employee
NXP Employee

Hi,

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

Regards,

Yuri.

0 Kudos