operate LoRa radio over I2C
Dependencies: TimeoutAbs lib_i2c_slave_block sx12xx_hal
radio chip selection
Radio chip driver is not included, allowing choice of radio device.
If you're using SX1272 or SX1276, then import sx127x driver into your program.
if you're using SX1261 or SX1262, then import sx126x driver into your program.
if you're using SX1280, then import sx1280 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
This project is used as slave device with i2c_lora_master on raspberry pi. This i2c_lora_slave offloads the real-time requirements onto microcontroller. Also permits multiple slave radio devices connected to master. Radio MAC layer exists on I2C master, along with application layer.
If beacon operation is enabled, I2C functions which access radio chip are blocked while beacon is loaded and transmitted.
See lib_i2c_slave_block for wiring connections.
Files at revision 0:9eb5b8bf9f7b
Name | Size | Actions |
---|---|---|
[up] | ||
TimeoutAbs.lib | 64 | Revisions Annotate |
cmds.c | 1493 | Revisions Annotate |
cmds.h | 4449 | Revisions Annotate |
device_sx126x.cpp | 6884 | Revisions Annotate |
device_sx127x.cpp | 7293 | Revisions Annotate |
device_sx128x.cpp | 4262 | Revisions Annotate |
lib_i2c_slave_block.lib | 73 | Revisions Annotate |
main.cpp | 19376 | Revisions Annotate |
mbed-os.lib | 77 | Revisions Annotate |
radio_device.h | 403 | Revisions Annotate |
sx12xx_hal.lib | 64 | Revisions Annotate |