Device not wake up after RTC-time and send message with Lora P2P. #95
Labels
needs clarification
Needs clarification or input from user
projects
Projects-related (demos, applications, examples) issue or pull-request.
question
Further information is requested
rtc
RTC-related issue or pull-request
I would like to use my ST32 to send data from one location to another. For this purpose, it should sleep in Stop Mode 2 for a fixed period, then wake up, send a message via LoRa P2P, and go back to sleep for this fixed period. This setup is necessary because there is no power supply at the specified location, so the controller needs to be battery-operated for an extended time.
My problem is that the RTC is exclusively reserved for the LoRa function, so I can either put the microcontroller to sleep every 10 seconds without using LoRa or send LoRa messages. When I implement both in the program, the microcontroller goes to sleep, wakes up after the defined period, and then does nothing further — no LoRa message, no returning to sleep for the set duration.
I have already tried initializing the RTC-Clock in two different configurations, but neither was successful.
Can anyone advise me on how to solve this problem? Is it even possible to achieve this with the RTC-Clock, or are there other ways to address my requirements?
The text was updated successfully, but these errors were encountered: