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
Solved! Go to Solution.
Hi,
the MCIMX7D_M4.h file is correct: I mean bit masks for registers bit fields.
Regards,
Yuri.
Hello,
The following Community thread can clarify the issue.
https://community.nxp.com/message/1178838
Regards,
Yuri.
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
Hi,
the MCIMX7D_M4.h file is correct: I mean bit masks for registers bit fields.
Regards,
Yuri.