SX1276 (Dragino) not communicating with Raspberry Pi - "Radio not initialized" error #80

Closed
opened 2026-10-27 09:32:06 +01:00 by adam · 1 comment
Owner

I tried to use the Dragino module with the SX1276 chip (older than SX1262), but following the instructions in the README, the Raspberry Pi is unable to communicate with the module.

Error encountered
SX1262_wrapper - ERROR - Radio not initialized

Configuration used
Configuration file:

# Mesh Network Configuration
mesh:
  global_flood_allow: true

sx1262:
  # SPI bus and chip select
  bus_id: 0
  cs_id: 0
  # GPIO pins (BCM numbering) - Corrected for Dragino
  cs_pin: 21
  reset_pin: 18
  busy_pin: 20
  irq_pin: 16
  # TX/RX enable pins
  txen_pin: 13
  rxen_pin: 12
  # LED pins
  txled_pin: -1
  rxled_pin: -1
  # Hardware configuration
  use_dio3_tcxo: false
  is_waveshare: true

radio:
  frequency: 869618000
  tx_power: 14
  bandwidth: 62500
  spreading_factor: 8
  coding_rate: 8
  preamble_length: 17
  sync_word: 0x34

Error log

Apr 20 15:29:37 raspberrypi pymc-repeater[2044]: 2026-04-20 15:29:37,501 - SX1262_wrapper - ERROR - Radio not initialized
Apr 20 15:29:37 raspberrypi pymc-repeater[2044]: 2026-04-20 15:29:37,502 - Dispatcher - INFO - TX 115 bytes (type=ADVERT, route=FLOOD)
Questions

Is the SX1276 module supported by this library, or does it require a specific driver?
Are there configuration differences between SX1276 and SX1262 that I should be aware of?
Are the GPIO pins correct for the Dragino module with SX1276?

I tried to use the Dragino module with the SX1276 chip (older than SX1262), but following the instructions in the README, the Raspberry Pi is unable to communicate with the module. Error encountered `SX1262_wrapper - ERROR - Radio not initialized` Configuration used Configuration file: ``` # Mesh Network Configuration mesh: global_flood_allow: true sx1262: # SPI bus and chip select bus_id: 0 cs_id: 0 # GPIO pins (BCM numbering) - Corrected for Dragino cs_pin: 21 reset_pin: 18 busy_pin: 20 irq_pin: 16 # TX/RX enable pins txen_pin: 13 rxen_pin: 12 # LED pins txled_pin: -1 rxled_pin: -1 # Hardware configuration use_dio3_tcxo: false is_waveshare: true radio: frequency: 869618000 tx_power: 14 bandwidth: 62500 spreading_factor: 8 coding_rate: 8 preamble_length: 17 sync_word: 0x34 ``` Error log ``` Apr 20 15:29:37 raspberrypi pymc-repeater[2044]: 2026-04-20 15:29:37,501 - SX1262_wrapper - ERROR - Radio not initialized Apr 20 15:29:37 raspberrypi pymc-repeater[2044]: 2026-04-20 15:29:37,502 - Dispatcher - INFO - TX 115 bytes (type=ADVERT, route=FLOOD) Questions ``` Is the SX1276 module supported by this library, or does it require a specific driver? Are there configuration differences between SX1276 and SX1262 that I should be aware of? Are the GPIO pins correct for the Dragino module with SX1276? <!-- github-sync-id:4296460552 -->
adam closed this issue 2026-10-27 09:32:06 +01:00
Author
Owner

Sorry the older chip has not been ported.

Sorry the older chip has not been ported. <!-- github-comment-id:4302057638 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/pyMC_Repeater#80