Prototype RF driver for STM Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo.
Prototype RF Driver for STM Sub-1 GHz RF Expansion Boards based on the SPSGRF-868 and SPSGRF-915 Modules for STM32 Nucleo
Currently supported boards:
Note, in order to use expansion board X-NUCLEO-IDS01A4 in mbed you need to perform the following HW modifications on the board:
- Unmount resistor
R4 - Mount resistor
R7
Furthermore, on some Nucleo development boards (e.g. the NUCLEO_F429ZI), in order to be able to use Ethernet together with these Sub-1 GHz RF expansion boards, you need to compile this driver with macro SPIRIT1_SPI_MOSI=PB_5 defined, while the development board typically requires some HW modification as e.g. described here!
This driver can be used together with the 6LoWPAN stack (a.k.a. Nanostack).
Revision 74:7672516efa2a, committed 2017-07-21
- Comitter:
- Wolfgang Betz
- Date:
- Fri Jul 21 15:30:53 2017 +0200
- Parent:
- 73:a1342eb7974c
- Child:
- 75:8dc65c09af67
- Commit message:
- Minor comment corrections
Changed in this revision
| stm-spirit1-rf-driver/SimpleSpirit1.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/stm-spirit1-rf-driver/SimpleSpirit1.h Fri Jul 21 15:18:37 2017 +0200
+++ b/stm-spirit1-rf-driver/SimpleSpirit1.h Fri Jul 21 15:30:53 2017 +0200
@@ -67,7 +67,7 @@
* #include "mbed.h"
* #include "SimpleSpirit1.h"
*
- * static char *send_buf = "Hello World!";
+ * static char send_buf[] = "Hello World!";
*
* static SimpleSpirit1 &myspirit = SimpleSpirit1::CreateInstance(D11, D12, D3, D9, D10, D2);
*
@@ -82,6 +82,7 @@
*
* int main()
* {
+ * myspirit.attach_irq_callback(callback_func);
* myspirit.on();
*
* while(1)
X-NUCLEO-IDS01A4 Sub-1GHz RF Expansion Board