How to wake-up from sleep-mode on STM32L072
I've modified the AT-command example from the X-CUBE-SFOX package to add another serial interface as a command link.
Now you can enter AT-commands via LPUART1 connected to terminal program on PC or send them from another CPU via USART1 and forward the payload to Sigfox.
Everthing works fine as long as LPUART1 is busy (connected to PC or short-cut between TX/RX). From the original example the firmware enters low-power mode if LPUART1 is idle.
I configured the USART1 to wake-up on RX-interrupt as well and expected that either an interrupt on LPUART1 or USART1 would trigger the activation. Didn't work.
Is there anything special I have to configure that the CPU reacts on both RX-interrupts?