-
Hi, I have no idea what I made wrong, maybe somebody can help? Have connected the ESP32C3 with RFM95W module, module is recognized, I see the join in TTN but get an join error -5 Code is LoRaWAN_Starter.ino with custom SPI settings:
Log:
Maybe somebody have any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
-5 is
RFM9x/SX127x does not have a BUSY pin, so I don't know what's going on there. |
Beta Was this translation helpful? Give feedback.
-
It's not good practise to name things like this - on the SX127x range it's very definitely DIO0, it's only BUSY on the SX126x range. I can see where you were coming from, but it caused our esteemed leader pause, it passed me by at first read and it could have been a much longer debugging affair! |
Beta Was this translation helpful? Give feedback.
In that case, you have DIO0 and DIO1 swapped. Your constructor looks like this:
SX1276 radio = new Module(SX1276_CS, SX1276_DIO1, SX1276_RESET, SX1276_BUSY);
However, SX127x constructor expects this (as shown in the examples):