Skip to content

[Board]: XIAO Wio-SX1262 Header Board (NOT Kit) #8409

@Brandon-T

Description

@Brandon-T

SOC

ESP32

Lora IC

Semtech SX1262

Product Link

https://www.seeedstudio.com/Wio-SX1262-for-XIAO-p-6379.html

Description

When installing Meshtastic on the SeeedStudio XIAO ESP32-S3 with the above Wio-SX1262, it will say SX1262 Init Failed: -2 in the console.

This board (Header): https://www.seeedstudio.com/Wio-SX1262-for-XIAO-p-6379.html
is different from (Kit):
https://www.seeedstudio.com/Wio-SX1262-with-XIAO-ESP32S3-p-5982.html

The pin-out is (Wio-SX1262-for-XIAO-p-6379):

// XIAO S3 LORA module
#define USE_SX1262

#define LORA_MISO 8
#define LORA_SCK 7
#define LORA_MOSI 9
#define LORA_CS 5

#define LORA_RESET 3
#define LORA_DIO1 2

#define LORA_DIO2 6

#ifdef USE_SX1262
#define SX126X_CS LORA_CS
#define SX126X_DIO1 LORA_DIO1
#define SX126X_BUSY 4
#define SX126X_RESET LORA_RESET

//  DIO2 controlls an antenna switch and the TCXO voltage is controlled by DIO3
#define SX126X_DIO2_AS_RF_SWITCH
#define SX126X_RXEN 6
#define SX126X_TXEN RADIOLIB_NC
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
#endif

Result:

INFO | ??:??:?? 119 CannedMessageModule is enabled
INFO | ??:??:?? 119 External Notification Module Disabled
DEBUG | ??:??:?? 119 SX126xInterface(cs=5, irq=2, rst=3, busy=4)
DEBUG | ??:??:?? 119 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO | ??:??:?? 119 Start meshradio init
INFO | ??:??:?? 119 Radio freq=906.875, config.lora.frequency_offset=0.000
INFO | ??:??:?? 119 Set radio: region=US, name=LongFast, config=0, ch=19, power=30
INFO | ??:??:?? 119 myRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.000000 (26.000000 MHz)
INFO | ??:??:?? 119 numChannels: 104 x 250.000kHz
INFO | ??:??:?? 119 channel_num: 20
INFO | ??:??:?? 119 frequency: 906.875000
INFO | ??:??:?? 119 Slot time: 28 msec, preamble time: 131 msec
INFO | ??:??:?? 119 Final Tx power: 22 dBm
INFO | ??:??:?? 119 SX126x init result 0
INFO | ??:??:?? 119 Frequency set to 906.875000
INFO | ??:??:?? 119 Bandwidth set to 250.000000
INFO | ??:??:?? 119 Power output set to 22
DEBUG | ??:??:?? 119 Current limit set to 140.000000
DEBUG | ??:??:?? 119 Current limit set result 0
DEBUG | ??:??:?? 119 Set DIO2 as RF switch, result: 0
DEBUG | ??:??:?? 119 Use MCU pin 6 as RXEN and pin -1 as TXEN to control RF switching
INFO | ??:??:?? 119 Set RX gain to boosted mode; result: 0
INFO | ??:??:?? 119 SX1262 init success
INFO | ??:??:?? 119 Not using WIFI
DEBUG | ??:??:?? 119 LoRA bitrate = 116.967873 bytes / sec

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions