Skip to content

Deepsleep issue since version mbed-os 5.12.0 for ST MCUs #11501

@elforce

Description

@elforce

Hi
I have a project with STM32L432KC microcontroller created in mbed-os version 5.11.2. The device sends data and then goes to deepsleep for eg. 1h. Power consumption in deepsleep mode for all device with peripherals approx. 4uA. "lpticker_lptim:" 0 to use RTC wakeup timer and "lpticker_delay_ticks": 4. After upgrading mbed-os to version 5.13.4 the program does not enter deepsleep mode at all. I have downgraded the mbed-os to version 5.12.4 and the same problem occurs.
After that I downloaded latest mbed-os-example-blinky with version mbed-os 5.12.0. The effect was the same. Below are the statistics from mbed_stats_cpu_t after the program has been running for some time:
image
image
After that I changed mbed-os in blinky to version 5.11.2 from my project. Program enters deep-sleep mode without any problems. Below are the statistics from mbed_stats_cpu_t after the program ran for some time for mbed-os 5.11.2:
image
image
What has changed in mbed-os since version 5.12.0? Maybe someone from ST would suggest a solution to this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions