cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L496 - Power OFF SRAM1 during Run Mode

Fabricio Almeida
Associate

I want to know if is possible power OFF the SRAM1 (256kb) and keep only SRAM2 (64kb) ON, during Run Mode. I know that is possible power OFF SRAM2 in Standby-Mode with the register PWR_CR3 (bit RRS). - Reference Manual pag. 187

1 REPLY 1
Danish1
Lead II

Table 23 "Functionalities depending on the working mode" of the STM32L4x6 reference Manual (my copy is Rev 6) suggests that you can't turn it off.

They say you can gate the clock in sleep mode with bit 9 of RCC_AHB1SMENR.

But the corresponding bit in RCC_AHB1ENR is marked as "Reserved, must be kept at reset value."

I see that the current consumption of SRAM1 is 2.29 - 2.80 µA / MHz, so clocking more slowly will reduce its current.

But you might find the best approach is to get processing done quickly and have the processor sleep until there's enough new stuff to process.

Hope this helps,

Danish