Multitasking radio and sensor reading task.
Hello,
I am currently building an application for the STM32WL. Two processes need to run simultaneously, the first is offline, and just reads data from a sensor and stores it in SD memory. The second is sending a LoRaWAN up-link message every 10 minutes (battery health monitor data). I am basing my project on the LoRaWAN_End_Node_DualCore_CM0PLUS project. I can see that the subghz radio runs on the CM0Plus, but the LoRaWAN network middleware files are on the CM4.
In summary, I am wondering if it's possible to send an uplink message through the radio driver with the CM0 while reading data through I2C on the CM4. Is it possible to multitask like this?
Sorry for the beginner question.
