This program is guided to help establish a connection between two RFM95 900MHz LoRa radio modules using Maxim Integrated's Feather MCUs (MAX32630FTHR Mbed and the MAX32620FTHR Mbed). Once the radios are configured after powering on and if the radios are wired correctly, the two radios will self identify as either a master or a slave, and will then proceed to PING and PONG back and forth. Information about what is happening between the radios can be seen if the two boards are hooked up to a USB COM port through the included DAPLINK/MAX32625PICO modules.

Dependencies:   BufferedSerial SX1276GenericLib USBDeviceHT max32630fthr

Fork of MAX326xxFTHR_LoRa_PingPong by Devin Alexander

Files at this revision

API Documentation at this revision

Comitter:
Helmut64
Date:
Tue Jan 30 09:51:21 2018 +0000
Parent:
14:0a23f0ff71ce
Child:
16:675f4d0ee9e9
Commit message:
Added STM32L432KC into PinMap.h

Changed in this revision

PinMap.h Show annotated file Show diff for this revision Revisions of this file
SX1276GenericLib.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/PinMap.h	Sun Nov 26 14:12:51 2017 +0000
+++ b/PinMap.h	Tue Jan 30 09:51:21 2018 +0000
@@ -10,6 +10,8 @@
  #define FEATURE_LORA   1
 #elif TARGET_DISCO_L072CZ_LRWAN1
  #define FEATURE_LORA   1
+#elif NUCLEO_L432KC
+ #define FEATURE_LORA   1
 #endif
 
 
@@ -48,4 +50,18 @@
 #define LORA_DIO4       PH_0    // ????
 #define LORA_DIO5       NC      // unused?
 
+#elif defined(TARGET_NUCLEO_L432KC) // using the RFM95 board
+
+
+#define LORA_SPI_MOSI   PC_12
+#define LORA_SPI_MISO   PC_11
+#define LORA_SPI_SCLK   PC_10
+#define LORA_CS         PA_0
+#define LORA_RESET      PA_1
+#define LORA_DIO0       PD_2    // DIO0=TxDone/RXDone/CADDone
+#define LORA_DIO1       NC      //
+#define LORA_DIO2       NC      // 
+#define LORA_DIO3       NC      // 
+#define LORA_DIO4       NC      // 
+#define LORA_DIO5       NC      // 
 #endif
\ No newline at end of file
--- a/SX1276GenericLib.lib	Sun Nov 26 14:12:51 2017 +0000
+++ b/SX1276GenericLib.lib	Tue Jan 30 09:51:21 2018 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/Helmut64/code/SX1276GenericLib/#deff0e614ecf
+http://developer.mbed.org/users/Helmut64/code/SX1276GenericLib/#3d7cfa8b8519
--- a/mbed.bld	Sun Nov 26 14:12:51 2017 +0000
+++ b/mbed.bld	Tue Jan 30 09:51:21 2018 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/mbed_official/code/mbed/builds/fd96258d940d
\ No newline at end of file
+https://os.mbed.com/users/mbed_official/code/mbed/builds/7130f322cb7e
\ No newline at end of file