ST / stm-spirit1-rf-driver

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:
18:d6f789f6f4c9
Parent:
16:25dc4b811ad3
Child:
19:42df12d5f750
--- a/SimpleSpirit1.cpp	Mon Nov 07 08:52:02 2016 +0100
+++ b/SimpleSpirit1.cpp	Mon Nov 07 10:01:36 2016 +0100
@@ -156,6 +156,10 @@
 			SPIRIT_GPIO_DIG_OUT_IRQ
 	};
 	spirit_gpio_init(&x_gpio_init);
+
+#ifdef RX_FIFO_THR_WA
+	linear_fifo_set_almost_full_thr_rx(SPIRIT_MAX_FIFO_LEN-(MAX_PACKET_LEN+1));
+#endif
 }
 
 #ifdef CONTIKI // betzw - TODO