Hello,
To save power, I would like to deactivate parts of the RAM memory on the nRF52840. I have already looked at the System OFF example and the manual of the nrf52840.
According to the Memory Report, my firmware uses 32.39 kbytes of RAM. According to the manual, I now understand that RAM0-RAM7 are blocks with 2*4096 byte sections. So now, can I leave blocks RAM0 - RAM3 enabled and disable the blocks above (RAM4 - RAM8) and get the best savings, or do I have to do it differently?
Also, do I understand correctly that to disable, I use the following function?
nrf_power_rampower_mask_off(NRF_POWER, block, section_mask);
Or can I somehow disable all unused RAM blocks in the configuration?