2010-02-26 03:31 AM
wake up from stop mode on usart interrupt: do I need to configure EXTI?
2011-05-17 04:41 AM
In STOP mode USART clock is off, too. To detect incoming packet, you have to use EXTI wake-up as this is the only suitable peripheral able to wake your MCU up.
Next, you have to consider that STM32 will wake up on 8 MHz clock and it will take few ms to switch on HSE and PLL again => the first byte may be wrong and your protocol has to count with that.2011-05-17 04:41 AM
Thanks again, edison.
2013-05-04 12:31 AM
2013-05-04 07:33 AM
You're bigger problem is that it will miss the first byte, at least.
I seem to recall one of the F0/F3 seminars of a low power mode where the function of the USART was maintained. The alternative would be a method using a RTS/CTS based handshake to wake up the part first, and then indicate it could receive new data.