summaryrefslogtreecommitdiff
path: root/loragw_hal/README.txt
diff options
context:
space:
mode:
authorSylvain Miermont <smiermont@semtech.com>2013-09-02 16:13:41 +0200
committerSylvain Miermont <smiermont@semtech.com>2013-10-23 11:36:29 +0200
commit33ade9eb698f594e95076a5e4056a70163f14278 (patch)
treea8fb4a31cf79f49ba8c3e517b0c8956eea3966c6 /loragw_hal/README.txt
parentddac0aa483dd5f7bca31b0c042949eca370a8fdc (diff)
downloadlora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.tar.gz
lora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.tar.bz2
lora_gateway-33ade9eb698f594e95076a5e4056a70163f14278.zip
Beta 4v1.b4
- now supports 'native' Linux /dev/spi* interface and SPI-over-USB using FTDI bridge through libmpsse - Flexible build system, with library.cfg file to set Makefile options - removed 500 kHz bandwidth limitation on radios, pushed it to the nominal 800kHz usable bandwidth - RSSI calibrated fo Lora multi-datarate channels
Diffstat (limited to 'loragw_hal/README.txt')
-rw-r--r--loragw_hal/README.txt32
1 files changed, 27 insertions, 5 deletions
diff --git a/loragw_hal/README.txt b/loragw_hal/README.txt
index 15034ff..58e7fbe 100644
--- a/loragw_hal/README.txt
+++ b/loragw_hal/README.txt
@@ -1,5 +1,14 @@
-Lora Gateway HAL
-================
++===============================================+
+| / _____) _ | | |
+| ( (____ _____ ____ _| |_ _____ ____| |__ |
+| \____ \| ___ | (_ _) ___ |/ ___) _ \ |
+| _____) ) ____| | | || |_| ____( (___| | | | |
+| (______/|_____)_|_|_| \__)_____)\____)_| |_| |
+| ©2013 Semtech-Cycleo |
+| |
+| Description: |
+| Lora Gateway HAL documentation |
++===============================================+
1. Introduction
---------------
@@ -119,7 +128,18 @@ accuracy pause.
For embedded platforms, the function could be rewritten using hardware times.
All modules use the fprintf(stderr,...) function to display debug diagnostic
-messages if the DEBUG flag is defined (eg. for GCC, add the -DDEBUG flag).
+messages if the DEBUG_xxx is set to 1 in library.cfg
+
+Depending on config, SPI module needs LibMPSSE to access the FTDI SPI-over-USB
+bridge. Please go to that URL to download that library:
+http://code.google.com/p/libmpsse/
+
+The code was tested with version 1.3 of LibMPSSE:
+http://libmpsse.googlecode.com/files/libmpsse-1.3.tar.gz
+SHA1 Checksum: 1b994a23b118f83144261e3e786c43df74a81cd5
+
+That library has some dependencies itself, please read the installation
+instructions.
4. Hardware dependencies
@@ -137,9 +157,11 @@ are platform-dependant.
The functions must be rewritten depending on the SPI bridge you use:
* SPI master matched to the Linux SPI device driver (provided)
-* SPI over USB using FTDI components (not provided)
+* SPI over USB using FTDI components (provided)
* native SPI using a microcontroller peripheral (not provided)
+Edit library.cfg to chose which SPI physical interface you want to use.
+
You can use the test program test_loragw_spi to check with a logic analyser
that the SPI communication is working
@@ -170,7 +192,7 @@ loop {
<stop the gateway>
To debug your application, it might help to compile the loragw_hal function
-with the DEBUG flag defined.
+with the debug messages activated (set DEBUG_HAL=1 in library.cfg).
It then send a lot of details, including detailed error messages to *stderr*.