Skip to main content
Fabricio Almeida
Visitor II
November 28, 2019
Question

STM32L496 - Power OFF SRAM1 during Run Mode

  • November 28, 2019
  • 1 reply
  • 533 views

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

This topic has been closed for replies.

1 reply

Danish1
Lead III
November 29, 2019

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