Skip to main content
Mich1
Associate III
June 13, 2018
Question

STM32L476 lowest sleep current with RAM retention

  • June 13, 2018
  • 1 reply
  • 1670 views
Posted on June 13, 2018 at 11:18

Hello,

Which is the mode which permits the lowest current with RAM retention for variables?

In this mode which is the current consumption for the STM32L476?

Best regards

Mich

    This topic has been closed for replies.

    1 reply

    Nesrine M_O
    Associate
    June 13, 2018
    Posted on June 13, 2018 at 11:33

    Hi

    Le_Mer.Michel

    ,

    The STM32L4 Series implements three Stop modes with full SRAM and Peripheral retention capability (SRAM1, SRAM2 and all registers content are retained)and capacity to wakeup in 1 µs thanks to the use of the MSI up to 48 MHz.

    In Standby mode the BOR is always enabled, ensuring that the device is under reset when the supply voltage is below the selected functional threshold. By default the SRAMs content is lost in Standby mode. However, it is possible to preserve the content of the SRAM2 (with an additional current consumption).

    I recommend you to have a look to

    http://www.st.com/content/ccc/resource/technical/document/application_note/9e/9b/ca/a3/92/5d/44/ff/DM00148pdf/files/DM00148pdf/jcr:content/translations/en.DM00148pdf

    application note, Power control (PWR) chapter in your related

    http://www.st.com/content/ccc/resource/technical/document/reference_manual/02/35/09/0c/4f/f7/40/03/DM000835pdf/files/DM000835pdf/jcr:content/translations/en.DM000835pdf

    andTypical and maximum current consumption in your related

    http://www.st.com/content/ccc/resource/technical/document/datasheet/c5/ed/2f/60/aa/79/42/0b/DM001088pdf/files/DM001088pdf/jcr:content/translations/en.DM001088pdf

    .

    -Nesrine-

    Mich1
    Mich1Author
    Associate III
    June 15, 2018
    Posted on June 15, 2018 at 09:33

    Hi Nesrine,

    Compared to your competitor we actually use, only the Stop 2 mode is equivalent.

    I am only worried about wake up from uart. Is there any solution to wake up with 2 uarts from stop 2 mode? (either a component with 2 LPUART or USART which can wake up from stop 2 but with low baudrate, ???)

    Best regards

    Mich

    Danish1
    Lead III
    June 15, 2018
    Posted on June 15, 2018 at 09:56

    Where the message that will wake-up the microcontroller is a known/controlled-by-you format, you might get away with configuring that pin as a trigger input as well, waking up on the leading edge of the start bit.

    You will miss the first (few) characters and there is the risk that the UART will use the wrong bit as its start bit and receive rubbish until something like 0xFF is sent.

    I was fortunate that the sequence that wakes up my stm32f4 starts 0xbf, 0xff, 0x00, <wanted data> and I find that I can reliably receive my wanted data at 921600 baud running off the internal MSI oscillator.

     - Danish