LoRa & Sub-GHz / 2.4 GHz Radio

Semtech SX1280 digital twin

2.4 GHz LoRa / FLRC / GFSK long-range radio transceiver with ranging.

standing: provisionalSPI + BUSY/DIO1SPI Mode 0 (command-based opcode interface, up to 18 MHz)
VendorSemtechLoRa & Sub-GHz / 2.4 GHz Radio
InterfaceSPI + BUSY/DIO1SPI Mode 0 (command-based opcode interface, up to 18 MHz)
Record Status2026-11-14rev 353af3679 (clean tree)

Driver oracle & capability record

9/9 radio acceptance criteria met (ToA formula to 1 ns, Friis link budget 0.01 dB, BUSY-pin gating, seeded PER determinism).

Driver referenceSemtech SX128x driver, Lora-net/SWDR005 at 3d57f5ea, src/sx128x.c
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordaccuracy/radio-twins-2026-11-14.json (SHA-256 4056386a93c2)

Radio acceptance criteria (9/9)

CriterionStatus
AC-1 upstream drivers between boards (every packet intact at a strong link)Met
AC-2a time on air = data sheet formula (1 ns)Met
AC-2b firmware SetTx-to-TxDone = 80 us + time on air (10 us + 0.1 %)Met
AC-2c SX1276GetTimeOnAir within 1 msMet
AC-3 link budget (Friis 0.01 dB, dipole gains) and RSSI/SNR within quantisationMet
AC-4 seeded loss inside the 99 % interval at every pointMet
AC-5 determinism (same seed same digests, other seed differs, zero variation = none)Met
AC-6 command sent while BUSY is dropped; waiting for BUSY worksMet
AC-7 switching table (15 rows) and register reset values readMet

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0xC0GetStatusMode + cmd statusReturns chip mode and last SPI command status
0x80 / 0x83SetStandby / SetTxCommandMode switching with BUSY pin gating
0x15GetIrqStatus16-bit maskTxDone, RxDone, CrcError and Timeout flags

Attach with ct CLI

Shell - run firmware with SX1280
# Run compiled firmware with SX1280 attached on nucleo-h743zi2
ct run --json --board nucleo-h743zi2 --device sx1280 build/app.elf

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

Fault-injection test snippet (suite.yaml)

tests/sx1280-fault.suite.yaml
version: 1
scene: sx1280-two-node-link.scene.json
tests:
  - name: sx1280-seeded-packet-loss-recovery
    seed: 42
    faults:
      - at_ms: 120
        link: rf0
        kind: attenuation_db
        delta_db: 45.0
        duration_ms: 250
    expect:
      console_contains: "RETRANSMIT_OK"
      exit_code: 0

Compatible board twins

More in LoRa & Sub-GHz / 2.4 GHz Radio