telebt-v4.0: slow down SPI speed to radio chip
authorBdale Garbee <bdale@gag.com>
Wed, 26 Apr 2017 04:28:28 +0000 (22:28 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 26 Apr 2017 04:28:28 +0000 (22:28 -0600)
src/telebt-v4.0/ao_pins.h

index c0c867a..749f243 100644 (file)
@@ -196,7 +196,7 @@ struct ao_adc {
 #define AO_CC1200_SPI_CS_PIN   11
 #define AO_CC1200_SPI_BUS      AO_SPI_1_PA5_PA6_PA7
 #define AO_CC1200_SPI          stm_spi1
-#define AO_CC1200_SPI_SPEED    AO_SPI_SPEED_FAST
+#define AO_CC1200_SPI_SPEED    AO_SPI_SPEED_6MHz
 
 #define AO_CC1200_INT_PORT             (&stm_gpiob)
 #define AO_CC1200_INT_PIN              (10)