Driver for the SX1276 RF Transceiver(Updated to work with nucleo, tested with L073RZ)

Fork of SX1276Lib by Semtech

Files at this revision

API Documentation at this revision

Comitter:
mluis
Date:
Tue Mar 31 13:35:04 2015 +0000
Parent:
15:04374b1c33fa
Child:
17:8add7ec2ee9c
Child:
18:99c6e44c1672
Commit message:
Corrected 250 kHz bandwidth choice for FSK modem; Added a define for the RADIO_WAKEUP_TIME from sleep

Changed in this revision

sx1276/sx1276.cpp Show annotated file Show diff for this revision Revisions of this file
sx1276/sx1276.h Show annotated file Show diff for this revision Revisions of this file
--- a/sx1276/sx1276.cpp	Thu Jan 22 12:47:47 2015 +0000
+++ b/sx1276/sx1276.cpp	Tue Mar 31 13:35:04 2015 +0000
@@ -37,7 +37,7 @@
     { 166700, 0x11 },
     { 200000, 0x09 },
     { 250000, 0x01 },
-    {      0, 0x00 }, // Invalid Badwidth
+    { 300000, 0x00 }, // Invalid Badwidth
 };
 
 
--- a/sx1276/sx1276.h	Thu Jan 22 12:47:47 2015 +0000
+++ b/sx1276/sx1276.h	Tue Mar 31 13:35:04 2015 +0000
@@ -20,6 +20,14 @@
 #include "./registers/sx1276Regs-LoRa.h"
 #include "./typedefs/typedefs.h"
 
+/*!
+ * Radio wakeup time from SLEEP mode
+ */
+#define RADIO_WAKEUP_TIME                           1000 // [us]
+
+/*!
+ * SX1276 definitions
+ */
 #define XTAL_FREQ                                   32000000
 #define FREQ_STEP                                   61.03515625