arduino-LoRa icon indicating copy to clipboard operation
arduino-LoRa copied to clipboard

reset LoRa chip

Open max763 opened this issue 4 years ago • 2 comments

Hi, I'm using the RFM95W together with an ESP32 to send and receive data via LoRa. Everything is working fine but once in a while it stops working and the only thing that helps is to turn it off an on. Is there a known way to reset the chip in such cases? digitalWrite(_reset, LOW); delay(10); digitalWrite(_reset, HIGH); delay(10);
doesn't help. thanks a lot max

max763 avatar Dec 06 '21 17:12 max763

Toggling the reset pin will be the radio back up in an uninitialized state. You'll need to run LoRa.begin again. Off hand I cannot think if this will have any side effects.

morganrallen avatar Dec 06 '21 18:12 morganrallen

thanks, will try that! And is there a way to find out whether the chip is in a state that needs a LoRa.begin() to work again?

max763 avatar Dec 07 '21 07:12 max763