LoRa & Sub-GHz / 2.4 GHz Radio

# Semtech SX1280 digital twin

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

standing: provisional SPI + BUSY/DIO1 SPI Mode 0 (command-based opcode interface, up to 18 MHz)

Vendor Semtech LoRa & Sub-GHz / 2.4 GHz Radio

Interface SPI + BUSY/DIO1 SPI Mode 0 (command-based opcode interface, up to 18 MHz)

Record Status 2026-11-14 rev 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 reference  | Semtech SX128x driver, Lora-net/SWDR005 at 3d57f5ea, src/sx128x.c                                                                               |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record  | [accuracy/radio-twins-2026-11-14.json](https://circuittwin.ai/evidence/accuracy/radio-twins-2026-11-14.json) (SHA-256 4056386a93c2)             |

## Radio acceptance criteria (9/9)

| Criterion                                                                            | Status |
| ------------------------------------------------------------------------------------ | ------ |
| 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 ms                                                 | Met    |
| AC-3 link budget (Friis 0.01 dB, dipole gains) and RSSI/SNR within quantisation      | Met    |
| AC-4 seeded loss inside the 99 % interval at every point                             | Met    |
| 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 works                      | Met    |
| AC-7 switching table (15 rows) and register reset values read                        | Met    |

## Key registers & reset values

| Address / Field | Register           | Reset / Expected  | Purpose                                       |
| --------------- | ------------------ | ----------------- | --------------------------------------------- |
| 0xC0            | GetStatus          | Mode + cmd status | Returns chip mode and last SPI command status |
| 0x80 / 0x83     | SetStandby / SetTx | Command           | Mode switching with BUSY pin gating           |
| 0x15            | GetIrqStatus       | 16-bit mask       | TxDone, 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

[Board: nucleo-h743zi2](https://circuittwin.ai/boards/nucleo-h743zi2) [Board: nrf52840-dk](https://circuittwin.ai/boards/nrf52840-dk) [Board: esp32s3-devkitc](https://circuittwin.ai/boards/esp32s3-devkitc) [Board: arduino-portenta-h7](https://circuittwin.ai/boards/arduino-portenta-h7) [Accuracy report](https://circuittwin.ai/docs/accuracy)

## More in LoRa & Sub-GHz / 2.4 GHz Radio

[CC1101 (Texas)](https://circuittwin.ai/twins/cc1101) [HM-10 (Jinan)](https://circuittwin.ai/twins/hm-10) [NEO-M9N (u-blox)](https://circuittwin.ai/twins/neo-m9n) [nRF24L01+ (Nordic)](https://circuittwin.ai/twins/nrf24l01-plus) [nRF9160 (SLM AT) (Nordic)](https://circuittwin.ai/twins/nrf9160-at) [Quectel BG96 (Quectel)](https://circuittwin.ai/twins/quectel-bg96)

> ## Inject SX1280 bus faults in CI
>
> Wire SX1280 onto your MCU board twin, drive physical stimuli and fail builds when your driver hangs on NACKs or frozen registers.
>
> [Start now](https://app.circuittwin.ai/try) [Inputs & fault injection docs](https://circuittwin.ai/docs/inputs) [Connect a coding agent](https://circuittwin.ai/docs/agents)
