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.
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 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). |
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.yamlFault-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