Description
I have built 2 LORA nodes with an Arduino Nano clone and an AI Thinker LORA module. First 2 worked great but the 3rd stops transmitting after a while. I modified endpacket() to only loop 5000 times before and indeed the TX_Done flag is never being set. I am having no problem communicating with the LORA using SPI, but the transmission never seems to be working. I dump registers before transmission begins and then once it starts but all appears normal, just that the TX_Done flag is never set.
The only way to recover is to power off the LORA and power back on again. Rebooting the Arduino does not help. There does not seem be anyway to have software to recover from the situation. I currently don't have anything connected to the RESET terminal of the LORA module. I was suspecting power as an issue, but I don't know why it would be an issue. All 3 units I have built use a 12V sealed battery and the LORA is feed directly from the 12V battery, through a buck converter to get down to 3.3V.
Any thoughts on what cause the TX DONE flag to never be set?