My understanding is there are 2 registers which are retained across a hibernate power cycle. The two registers are located at the following memory addresses:
Base = 0x4402F800
Reg2 = Base + 0x420 Reg3 = Base + 0x424
In the technical documentation it indicates these registers are available for the application to use for OCR (On Chip Retention). Additionally in the documentation it states these registers are used by the RTC and if the RTC is being used they are no longer available for application use.
It appears the only use the RTC has for Reg2 & Reg3 is for storing calendar time adjustment value. Is this correct?
I assume the values in Reg2 & Reg3 are NOT accessed by the MCU while the chip is in hibernation. Is this correct?
If both my assumptions above are correct is it save to say the OCR registers can still be used by the application alongside the RTC as long as no adjustment to the RTC is required by the application? I do realize some workaround would be required if this is true (such as immediately reading register values on wakeup followed by a call to cc_rtc_init immediately after). I just want to check that even if this will work today I'm not setting myself up for a problem down the road.