Xiao ESP32S3 & SX1262 LoRaWAN Wiki Example

Gooday, Has anyone had success with the Xiao ESP32S3 and the SX1262 Sensor LoRaWAN example. I followed the wiki and also viewed the YT video using the RadioLib AU915 SB 2 in the arduino IDE. Loads fine, but looks like it can’t initialise the radio and therefore can’t join the TTN. Output below. Tried two SX1262 brand new modules with the same outcome. Is there something I’m missing here? I suspect it’s the definition of the SX1626 pin definitions which are in the wiki example as follows.“SX1262 radio = new Module(41, 39, 42, 40);” I can’t relate them to anything, what are these numbers meant to be. Xiao GPIO numbers?

Initialise the radio
Initialise radio failed - ERR_CHIP_NOT_FOUND (-2)
Join (‘login’) the LoRaWAN Network
Join failed - See TypeDef.h (-1106)
Join failed - See TypeDef.h (-1106) etc etc

Cheers Dave

Hi There

So, there is a few posts and a Demo I posted that’s a modified version I think of the original. Based off of the P2P example.

Yes the pins are almost always the issue it seems, either wrong ones or like you the “GPIO” pins are used, those reflect the io on the B2B connector :+1:

The radio init it key to any success AFAIK , so be sure it’s handled properly. Also the BSP used I found to be equally as important not all are supported.

HTH
GL :wink: PJ :v:

Search " P2P Lora " :+1:

Yes, after I posted this I found some ping - pong examples here that are supposed to work so might explore them and see before moving onto the LoRaWAN TTN.(I see your name all over the posts)
Still puzzles me what those pin numbers refer to. Looked at schematics for both units and never see them. Traced the B2B connections too.
Tks Dave