Hi all,
I wonder if I can get some advice on this device?
I'm writing a driver to send packets on this radio. I have basically copied the register settings from the init and send functions from the Adafruit Arudino library.
https://github.com/adafruit/RadioHead/blob/master/RH_RF95.cppI get successful SPI comms with the radio, I can read and write registers, fine. The hardware is good, the schematic is right and working.
My problem is I can't send on the radio. To send you do the following:
- Put the radio into standby mode
- Fill the FIFO with the data to send.
- Set the length of the data.
- Put the radio into TX mode.
- Wait for interrupt for completion.
What I get:
- Put the radio into TX mode.
- Wait for interrupt for completion.
- The interrupt doesn't happen even if I wait for 10 minutes.
- Retry sending, on about the 5/6th time, I'll get the interrupt. The result is channel activity detected.
- I then never get another interrupt despite how long I wait or number of times I try sending a packet. I have to reset and reconfigure the radio before the above happens again.
With the current setup do I need to set more registers? Are there more than the two functions that I mention? Any advice for what might be happening?
Thanks