mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Correct SPI mode for CC3000 is CPOL=0 CHPA=1. From Jussi Kivilinna
This commit is contained in:
@@ -42,10 +42,10 @@ config CC3000_DEVMINOR
|
|||||||
|
|
||||||
config CC3000_SPI_MODE
|
config CC3000_SPI_MODE
|
||||||
int "SPI mode"
|
int "SPI mode"
|
||||||
default 0
|
default 1
|
||||||
range 0 3
|
range 0 3
|
||||||
---help---
|
---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.
|
sometimes you need to experiment.
|
||||||
|
|
||||||
config CC3000_SPI_FREQUENCY
|
config CC3000_SPI_FREQUENCY
|
||||||
|
|||||||
Reference in New Issue
Block a user