According to the CC3000 Host Programming Guide, "The clock and phase settings for the SPI are CPHA 0 and CPOL 0, meaning that the data is sampled on the falling edge of the clock cycle." However, from what I've read about SPI clock and phase settings for CPHA and CPOL, like the below from Wikipedia as well as my MCU's data sheet, CPHA=0 and CPOL=0 mean data is sampled on the clock's rising edge.
- At CPOL=0 the base value of the clock is zero
- For CPHA=0, data are captured on the clock's rising edge (low→high transition) and data are propagated on a falling edge (high→low clock transition).
- For CPHA=1, data are captured on the clock's falling edge and data are propagated on a rising edge.
Am I misunderstanding something?