Hi Ganesh,
Could you please specify what you exactly mean by RAM retention?
Do you mean RAM retention as special power save mode with RAM is partially disabled?
In that case, no, the S12G doesn’t have any RAM retention mode. At least it is not documented as user accessible feature.
Note: S12G has SRAM – it doesn’t need a periodical refresh.
In fact, the RAM stays active in low power mode (Stop mode) until the voltage at internal voltage regulator is above Power On Reset assert level (VPORA). This value isn’t specified, it is not accessible from external pins, but POR assert happened typically at approximately around 1.1~1.2V at VDDR.
So, we guarantee that RAM content stays unchanged in low power mode until the voltage is above POR level voltage.
Note: Low voltage reset monitor isn’t active in Stop mode.
Or do you mean some technique for save RAM content into non-volatile memory like Flash/EEPROM?
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------