I have read AN4991 and the example code but in my case nothing works. I'm using DMA transfer with the UART. Can that be the reason? Is it not possible to wake up from STOP1 when using DMA to receive bytes from USART? Or how can it be done?I use C...
I now changed UART RX to use interrupts instead of DMA For some reason removing DMA broke debugging - the MCU hangs after a while. If I stop debugging and power-cycle the MCU it runs. I'm using IAR and J-Link.Anyways, UART RX works well using the ...
I now tried call HAL_UART_DeInit() before configuring USART RX pin as EXTI but that did not help. Still no interrupt on falling edge of the pin. Tried the same with a non-USART pin and there I got an interrupt successfully. So is it not possible t...
Thanks Sarra, good to know. I'm using the USART but I guess the same limitation applies there. To bad DMA is not mentioned in AN4991.Then I need to find the answer to my alternate implemention - why there is no EXTI interrupt if I configure the UA...