Posted on June 17, 2016 at 14:03
I've been trying to get this beast to wake up from stop mode when it received data on UART1.
This is my approach in code
int
main()
{
SystemCoreClockUpdate();
initStopMode();
initUart();
//Init othe...
Posted on June 23, 2016 at 17:27
Continued working on resolving this issue, read in the reference manual that waking up from UART would only work with UART disabled, so I tried disabling it before entering stop mode. It still does not work.
...
Posted on June 17, 2016 at 16:57Just checked out the example project. We're using the standard peripheral driver library, and the example code is written using the newer HAL libraries. I did compare the sequence in which command's are executed in th...
Posted on June 17, 2016 at 16:32
Thank you both for replying so fast :).
I've tried to enable the USART_IT_WU interrupt. I change this function to do it:
void initStopMode(){
DBGMCU_Config(DBGMCU_STOP, ENABLE); //Enable debugger in...