Hi
I have a question about register IOMUXC_GPR_GPR14 on RT1062 MCU
In the reference manual (latest, rev.3) this register should be responsible for ACMP configuration. While when i search examples of FlexRAM configuration i find some info and code examples mentioning that register is responsible for some FlexRAM settings. For example this post https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FlexRAM-configuration-for-OCRAM-0/m-p/1078440 and also AN12077 application note mentions it, and the Teensy 4.1 code do some strange setting on this register right after setting GRP17 and GPR16 so they used it for sure for FlexRAM not the analog comparators. In the SDK however (at least in version 2.16.100) all the code for IOMUXC_GPR_GPR14 is dedicated to ACMP1-4
I'm puzzled. Please bring some light on it
That makes sense. Thanks, now i understand why the old code is that way but new code just ignores this register and only uses GPR17 and GPR16 for FlexRAM configuration
Hi @Pencioner ,
Thanks for your interest in NXP MIMXRT series!
This is not a bug, but the two FEATURES use different bit fields.
About FlexRAM, in the previous version, IOMUXC_GPR_GPR14 provided 16-20bit for configuring the size of ITCM/DTCM, then it was found out that it works even if you don't configure these two bitfields, so the new version of RM about these two bitfields has been hidden.
And the configuration of ACMP uses the other bitfields of IOMUXC_GPR_GPR14, and the FlexRAM function does not affect each other.
Best regards,
Gavin