Question
USART Issues after wake up from stop mode
Posted on December 03, 2013 at 19:56
Hello,
I've succesfully started programming a STM32F0Discoveryboard:- MCU is running on HSI (8MHz) at runmode.
- MCU is going into/outof stopmode every 5 seconds using the RTC running on LSE (32.768kHz)
- USART1 is connected to pc (9600 baud)
After initialization (GPIO, USART, RTC) the USART works just fine using the USART_SendData() and USART_ReceiveDate() functions. But the when the MCU is put into stop mode and subsequently wakes up, the USART1 is not longer functioning properly. Weird characters show up in my terminal, so i assume this is a timing error.
I can post the code, but maybe this issue sounds familiar to anyone? Hope you can help!Thanks,Ronald #stm32-usart-stop