Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Increase STM32 default deep sleep latency to 4ms #11767
Recent measurements have shown that the total wake-up latency can be more
Summary of change (What the change is for and why)
The change better reflects the reality of the actual latency and will allows mbed-os OS to schedule
Documentation (Details of any document updates required)
No specific documentation update needed.
Pull request type (required)
Test results (required)
Note that this patch actually will fix the initial issue raised in #11545
Recent measurements have shown that the total wake-up latency can be more than the 3ms initially set. It was measured as 3,7ms on DISCO_L475VG_IOT01A target and 3,1ms on NUCLEO_L073RZ target. So set it to 4ms to be on the safe side.