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: provisional SPI + BUSY/DIO1 SPI Mode 0 (opcode commands, up to 16 MHz)

Vendor Semtech LoRa & Sub-GHz / 2.4 GHz Radio

Interface SPI + BUSY/DIO1 SPI Mode 0 (opcode commands, up to 16 MHz)

Record Status Catalog profile Datasheet / behavioral twin

## Driver oracle & capability record

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

| Driver reference  | Semtech sx126x\_driver / RadioLib / Zephyr lora                                                                                                 |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| 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  | Generate or inspect locally via ct twin generate (see [/docs/twin-generation](https://circuittwin.ai/docs/twin-generation)).                    |

## Key registers & reset values

| Address / Field    | Register                       | Reset / Expected     | Purpose                                                |
| ------------------ | ------------------------------ | -------------------- | ------------------------------------------------------ |
| 0xC0               | GetStatus                      | ChipMode + CmdStatus | Returns Standby/TX/RX mode and last command status     |
| 0x80 / 0x83 / 0x82 | SetStandby / SetTx / SetRx     | BUSY gated           | Radio state transitions gated by BUSY pin low          |
| 0x12 / 0x02        | GetIrqStatus / ClearIrq        | 16-bit mask          | TxDone, RxDone, HeaderErr, CrcErr and Timeout flags    |
| 0x86 / 0x8B        | SetRfFrequency / SetModulation | SF5..SF12            | PLL 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

[Board: nucleo-l476rg](https://circuittwin.ai/boards/nucleo-l476rg) [Board: nrf52840-dk](https://circuittwin.ai/boards/nrf52840-dk) [Board: rpi-pico](https://circuittwin.ai/boards/rpi-pico) [Board: esp32s3-devkitc](https://circuittwin.ai/boards/esp32s3-devkitc) [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 SX1262 bus faults in CI
>
> Wire SX1262 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)
