AnsweredAssumed Answered

How to write to the SRAM2 memory on STM32L476?

Question asked by oltean.andreea on Mar 10, 2017
Latest reply on Mar 16, 2017 by oltean.andreea

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.