Jump to content

Component: LoRa (LAMBDA SX1272) (LAMBDA SX1272) (Wireless)

From Flowcode Help
Revision as of 14:12, 20 January 2023 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix TSL
Version 1.0
Category Wireless


LoRa (LAMBDA SX1272) component

Component to drive the LAMBDA LoRa Transciever module from RF Solutions. Uses an SPI bus connection to the microcontroller. Uses the Semtech SX1272 Transciever IC.

Component Source Code

Please click here for the component source code: FC_Comp_Source_LoRa_Lambda.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

ReadReg
Reads a register on the device and returns the value read 
- BYTE Address
 
- BYTE Return


ReceiveBuffer
Attampt to read a number of bytes from the LoRa network. Returns the number of bytes received 
- BYTE Data
 
- BYTE Count
 
- UINT Timeout
Time to wait in milliseconds 
- BYTE Return


WriteReg
 
- BYTE Address
 
- BYTE Value
 
- VOID Return


TransmitBuffer
Attampt to send a number of bytes to the LoRa network. 
- BYTE Data
Data buffer to transmit 
- BYTE Count
Number of bytes to send 
- VOID Return


SetFrequency
Sets the module frequency 
- ULONG Frequency
 
- VOID Return


Initialise
Starts the SPI and configures the LoRa module frequency 
- VOID Return



Property reference

Properties
LoRa Properties
Frequency
 
Connections
Channel
SPI Channel selector 
Prescale
Prescale option selector 
MOSI
SPI Data Out Pin SDO - Also Known as Master Out Slave In (MOSI) when used in Master mode. 
MISO
SPI Data In Pin SDI - Also Known as Master In Slave Out (MISO) when used in Master mode. 
CLK
SPI Clock Pin CLK - The Clock signal is driven by the SPI master. 
CS / SS
Chip Select / Slave Select Pin Master Mode: General purpose output pin used to select the remote SPI device. Slave Mode: Hardware chip select pin input used to select the SPI device.  
RX Switch
 
TX Switch
 
Simulation
Simulate comms