How to use Autonomous mode with STM32WBA55 (USART2 with GPDMA)?
Hello,
I am using a STM32WBA55 controller and want to wake up from sleep mode (STOP1) as soon as an external interrupt (UART start bit) with falling edge occurs on pin PA11 (PA11 is also the USART2 Rx pin).
Is there a possibility (e.g. with USART autonomous mode) to wake up with falling edge (UART start bit) to start UART with GPDMA or do I have to configure PA11 as external interrupt pin first:
1.) Configure PA11 as external interrupt pin
2) As soon as an interrupt occurs, initialize UART2 and receive a few bytes
3) When the UART2 communication is finished, de-initialize UART2 and initialize PA11 as external interrupt pin again
4) Go into STOP1 mode
