7 years, 9 months ago.

STM32L4 deepsleep() takes 0.4 sec to wakeup

A simple interrupt wakeup (e.g. Button, or external intr.) event takes about 0.4 seconds when the main idle loop uses deepsleep(), using sleep() or an forever idle loop works without any delays.

Has someone any ideas what takes so long?

I use the STM32L4 Disco Board (I remember this problem was not using the STM32L1 Nucleo).

Be the first to answer this question.