lr1120 0.2.0

Driver for Semtech LR1120
Documentation

LR1120 Driver

Crates.io Documentation License

An async, no_std Rust driver for the Semtech LR2021 dual-band transceiver, supporting many different radio protocols including LoRa, BLE, ZigBee, Z-Wave, and more.

Quick Start

Add this to your Cargo.toml:

[dependencies]
lr1120 = "0.1.0"
embassy-time = "0.5"

Basic usage:

use lr1120_driver::Lr1120;

let mut radio = Lr1120::new(reset_pin, busy_pin, spi_device, nss_pin);
radio.reset().await?;
// Configure and use your preferred protocol

Hardware Requirements

  • Semtech LR2021 transceiver module
  • SPI-capable microcontroller
  • 3 GPIO pins: Reset (output), Busy (input), NSS/CS (output) (not counting SPI SCK/MISO/MOSI)
  • Embassy-compatible async runtime

Documentation & Examples