LabWired The easy way to build hardware
SPI device

LoRa SX1278 / RA-02

The LoRa SX1278 / RA-02 is an SPI device in the LabWired part catalog. Its catalog type is lora-sx1278. It connects to the MCU over SPI. The catalog gives a supply range of 1.8–3.7 V. It has 8 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

From the catalog: SPI LoRa register shell (Version); RF packets not modelled.

Key facts

CategorySPI devices
Catalog typelora-sx1278
InterfaceSPI
Supply range1.8–3.7 V
Pins8
DatasheetSemtech SX1276/77/78/79 low power long range transceiver datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

LoRa SX1278 / RA-02 pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
NSS Input SPI chip select (CS)
SCK Input SPI clock (SCK)
MOSI Input SPI data out of the MCU (MOSI)
MISO Output SPI data into the MCU (MISO)
RST Input GPIO
DIO0 Output GPIO

How to simulate the LoRa SX1278 / RA-02 in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the LoRa SX1278 / RA-02 (catalog type lora-sx1278).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 1.8–3.7 V.
  4. Connect SCK, MOSI and MISO to the SPI pins of the board.
  5. Connect NSS to the chip-select pin of the board, or to a free GPIO.
  6. Connect RST and DIO0 to free GPIO pins.
  7. Run the firmware. It selects the part and moves bytes over the simulated SPI bus as on hardware.

Related SPI devices

All SPI devices · All parts

Modelled from Semtech SX1276/77/78/79 low power long range transceiver datasheet.