Associate
September 13, 2021
Question
Optimizing wake up time STM32L0.
- September 13, 2021
- 4 replies
- 2149 views
I am trying to get an STM32L0 MCU to startup as quickly as possible. The datasheet says 5us wake up time from flash memory, but I am getting nowhere close to this. I loaded a super simple program that just toggles a GPIO and watched it on a logic analyzer (image attached). The top channel is the power while the second channel is the GPIO. It takes more than 10ms to enter the main loop where the GPIO starts toggling. How can I get this to happen quicker? I would like to do a SPI transaction within 10-20us of being powered on. Is that possible?