Skip to content

STM32L152RE deepsleep state power too high #11853

@star297

Description

@star297

Description of defect

Deepsleep not working, appears to be working in sleep mode (750uA) only. Deepsleep should be around 3uA normally.

Target(s) affected by this defect ?

STM32L152RE (Nucleo-L152RE)

Toolchain(s) (name and version) displaying this defect ?

ARM(On-Line)

What version of Mbed-os are you using (tag or sha) ?

5.14.1 bare-metal

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

On-Line compiler

How is this defect reproduced ?

Call 'sleep();' and measure on the MCU IDD
I'm using this in my mbed_app.json file. the other targets appear to working correctly.

{
"requires": ["bare-metal"],

"target_overrides": {
    "*": {
        "platform.stdio-baud-rate": 115200
    },                        
    "NUCLEO_L476RG": {
        "target.clock_source": "USE_PLL_HSE_XTAL",
        "target.macros_remove": ["MBED_TICKLESS"],       
        "target.lpticker_lptim_clock": 4,
        "target.lpticker_lptim": 0
    },
    "NUCLEO_F401RE": {
        "target.clock_source": "USE_PLL_HSE_XTAL",
        "target.macros_remove": ["MBED_TICKLESS"],       
        "target.lpticker_lptim_clock": 4,
        "target.lpticker_lptim": 0
    },
    "NUCLEO_L152RE": {
        "target.clock_source": "USE_PLL_HSE_XTAL",
        "target.macros_remove": ["MBED_TICKLESS"],       
        "target.lpticker_lptim_clock": 4,
        "target.lpticker_lptim": 0
    }
}    

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions