Hardware Abstraction Layer, permitting any LoRa application to use any LoRa radio chip
Dependents: alarm_slave alarm_master lora_p2p lorawan1v1 ... more
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 LR1110, then import LR1110 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
If you're using Type1SJ select target DISCO_L072CZ_LRWAN1
and import sx126x driver into your program.
Pin assigned to arduino LoRa radio shield form-factor
- SX1272 shield.
- SX1276 shield.
- SX126x kit with color touch screen, or sx126x radio-only shield.
- Exceptions with their own pin assignments: NAMote-72 and Murata discovery board.
- TODO: pin assign XDOT.
SPIu.h@21:96db08266089, 2021-02-05 (annotated)
- Committer:
- Wayne Roberts
- Date:
- Fri Feb 05 16:35:05 2021 -0800
- Revision:
- 21:96db08266089
- Parent:
- 0:9c052ff8dd6a
lr1110: handle tcxo when hf-xosc fails to start
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Wayne Roberts |
0:9c052ff8dd6a | 1 | |
Wayne Roberts |
0:9c052ff8dd6a | 2 | class SPIu : public SPI |
Wayne Roberts |
0:9c052ff8dd6a | 3 | { |
Wayne Roberts |
0:9c052ff8dd6a | 4 | public: |
Wayne Roberts |
0:9c052ff8dd6a | 5 | SPIu(PinName mosi, PinName miso, PinName sclk, PinName ssel=NC); |
Wayne Roberts |
0:9c052ff8dd6a | 6 | virtual void lock(void); |
Wayne Roberts |
0:9c052ff8dd6a | 7 | virtual void unlock(void); |
Wayne Roberts |
0:9c052ff8dd6a | 8 | }; |