Hi!everyone!
The issue we are currently facing is related to the scheduled automatic reset of the chip using software.The device we are using is composed of the WisBlock Core RAK4630(L) and the RAK19001 WisBlock Base, and the firmware of the chip is based on the Arduino BSP .
The method for automatic reset is as shown in the diagram. We have attempted to use the NVIC_SystemReset function in the core_cm4.h file to perform a scheduled automatic reset. We use the variable lastResetTime to record the time of the last reset, and when the resetInterval time interval is reached, a software reset is initiated.However, in the actual operation, this method of automatic reset is not performing very well. When the LoRa is unable to transmit data to the gateway normally, using the mechanical reset button on the rak19001 WisBlock Base can allow the data to start transmitting normally. But setting up a software automatic reset for one day does not work; the data will remain in a state where it cannot be normally transmitted to the gateway.
I would like to inquire if there are any other methods for software automatic reset. Could you provide some example code? Thank you very much!