Add sensors to STM32CubeWL firmware.
Let me see if I've understood. I'm using STM32CoreWL for LoRaWAN end-node implementation, where I need to insert my sensors. As specified on AN5406, the low power modes are activated by UTIL_SEQ_Idle(), when the sequencer has nothing to do.
So there are no active low power modes processes called by the sequencer (!?).
My sensor reading routine is called inside SendTxData(). I need a pulse with a defined duration. The routine sets the needed GPIO but it doesn't reset it at the right times like if the timer was ignored.
All work if I set #define LOW_POWER_DISABLE to 1. I'm using TIM16 for a resolution of uS.
Even reading (and reading again) the application notes regarding sequencer and low power modes, I'm not able to control my applications.
How to disable (or manage) temporally, for the time needed, the low power mode? I need help.
F.