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/libs/Contiki_STM32_Library/spirit1.h
- Revision:
- 75:8dc65c09af67
- Parent:
- 67:93bec0baf1de
--- a/source/libs/Contiki_STM32_Library/spirit1.h Fri Jul 21 15:30:53 2017 +0200 +++ b/source/libs/Contiki_STM32_Library/spirit1.h Fri Sep 01 08:51:04 2017 +0200 @@ -91,7 +91,13 @@ /* Exported constants --------------------------------------------------------*/ -/* Radio configuration parameters */ +/* Radio configuration parameters */ +/* General Remarks: + * Two SPSGRF modules will only communicate when both are having same frequency , same channel number, + * same modulation scheme, same data rate, etc. + * For example, the SPSGRF-915 module supports frequencies 902 to 928 MHz. User can select any frequency + * between this band. + */ #define XTAL_OFFSET_PPM 0 #define INFINITE_TIMEOUT 0.0 @@ -104,8 +110,7 @@ #endif #ifdef USE_SPIRIT1_915MHz -//#define BASE_FREQUENCY 915.0e6 -#define BASE_FREQUENCY 902.0e6 +#define BASE_FREQUENCY 915.0e6 #endif