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).
Diff: source/NanostackRfPhySpirit1.cpp
- Revision:
- 76:f4f990741baf
- Parent:
- 68:247fd6e0ab66
- Child:
- 78:65de72417cd3
diff -r 8dc65c09af67 -r f4f990741baf source/NanostackRfPhySpirit1.cpp --- a/source/NanostackRfPhySpirit1.cpp Fri Sep 01 08:51:04 2017 +0200 +++ b/source/NanostackRfPhySpirit1.cpp Thu Jan 18 13:29:40 2018 +0200 @@ -1,6 +1,8 @@ +#include "NanostackRfPhySpirit1.h" + +#ifdef MBED_CONF_NANOSTACK_CONFIGURATION #if MBED_CONF_RTOS_PRESENT -#include "NanostackRfPhySpirit1.h" #include "SimpleSpirit1.h" #include "nanostack/platform/arm_hal_phy.h" #include "platform/arm_hal_interrupt.h" @@ -827,3 +829,4 @@ } #endif /* MBED_CONF_RTOS_PRESENT */ +#endif /* MBED_CONF_NANOSTACK_CONFIGURATION */ \ No newline at end of file