diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-05-21 07:17:46 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-05-21 07:17:46 -0600 |
commit | a555f5e571621b6baf343ccba91ee0a1030bb9a3 (patch) | |
tree | 8d8c05ce3c3fb273dd3befb706d79ea0e3bd0ede | |
parent | a94fb2d0ed89fa5a8cea85e21bea001c59273772 (diff) | |
download | nuttx-a555f5e571621b6baf343ccba91ee0a1030bb9a3.tar.gz nuttx-a555f5e571621b6baf343ccba91ee0a1030bb9a3.tar.bz2 nuttx-a555f5e571621b6baf343ccba91ee0a1030bb9a3.zip |
Correct SPI mode for CC3000 is CPOL=0 CHPA=1. From Jussi Kivilinna
-rw-r--r-- | nuttx/drivers/wireless/cc3000/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/wireless/cc3000/Kconfig b/nuttx/drivers/wireless/cc3000/Kconfig index e9f22ed99..c16c8bc93 100644 --- a/nuttx/drivers/wireless/cc3000/Kconfig +++ b/nuttx/drivers/wireless/cc3000/Kconfig @@ -42,10 +42,10 @@ config CC3000_DEVMINOR config CC3000_SPI_MODE int "SPI mode" - default 0 + default 1 range 0 3 ---help--- - Controls the SPI mode. The device should work in mode 0, but + Controls the SPI mode. The device should work in mode 1, but sometimes you need to experiment. config CC3000_SPI_FREQUENCY |