LoRa & Sub-GHz / 2.4 GHz Radio

Semtech SX1262 in the datasheet corpus

Sub-GHz +22 dBm LoRa / (G)FSK transceiver with opcode SPI interface and BUSY handshake pin.

standing: provisionalSPI + BUSY/DIO1SPI Mode 0 (opcode commands, up to 16 MHz)
VendorSemtechLoRa & Sub-GHz / 2.4 GHz Radio
InterfaceSPI + BUSY/DIO1SPI Mode 0 (opcode commands, up to 16 MHz)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus; shares opcode-plus-BUSY architecture with our SX1280 radio twin.

Driver referenceSemtech sx126x_driver / RadioLib / Zephyr lora
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0xC0GetStatusChipMode + CmdStatusReturns Standby/TX/RX mode and last command status
0x80 / 0x83 / 0x82SetStandby / SetTx / SetRxBUSY gatedRadio state transitions gated by BUSY pin low
0x12 / 0x02GetIrqStatus / ClearIrq16-bit maskTxDone, RxDone, HeaderErr, CrcErr and Timeout flags
0x86 / 0x8BSetRfFrequency / SetModulationSF5..SF12PLL frequency word and LoRa spreading/bandwidth params

Attach with ct CLI

Shell - run firmware with SX1262
# Run compiled firmware with SX1262 attached on nucleo-l476rg
ct run --json --board nucleo-l476rg --device sx1262 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/sx1262.xml tests/sx1262-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/sx1262-fault.suite.yaml
version: 1
scene: sx1262-link.scene.json
tests:
  - name: sx1262-rf-fade-and-crc-recovery
    seed: 42
    faults:
      - at_ms: 100
        link: rf0
        kind: attenuation_db
        delta_db: 40.0
        duration_ms: 200
    expect:
      console_contains: "LINK_RECOVERED"
      exit_code: 0

Compatible board twins

More in LoRa & Sub-GHz / 2.4 GHz Radio