Hello, How do I write a variable to the SRAM2 on an STM32L476 ? I am putting the uC in the Standby mode and I am preserving the SRAM2 memory, but I cannot manage to write to it. I am trying like this:
#define VAR_LOC ((volatile uint8_t *)(0x10000000))
volatile uint8_t *pVar = VAR_LOC;
Do I need to active some clock for the SRAM2 memory?
Thanks! Any information is helpful.