AnsweredAssumed Answered

USART Issues after wake up from stop mode

Question asked by bolijn.ronald on Dec 3, 2013
Latest reply on Dec 4, 2013 by Clive One

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!