AnsweredAssumed Answered

SPI mode not clocking as configured

Question asked by Luke Marvin on Jul 2, 2014
Latest reply on Jul 15, 2015 by kai sun

Hi I'm having some trouble with the SPI on my IMX6S based Riotboard. I am running Android v4.3 with kernel v3.0.35.

 

I'm trying to get SPI_MODE3 to work but it appears to always clock out in SPI_MODE0. Has anyone seen this before?

 

Spidev test program:

root@RIoTboard_6solo:/ # /system/lcdtest/spidev_test -H -O
spi mode: 3
bits per word: 8
max speed: 500000 Hz (500 KHz)




FF FF FF FF FF FF
FF FF FF FF FF FF
FF FF FF FF FF FF
FF FF FF FF FF FF
FF FF FF FF FF FF
FF FF FF FF FF FF
FF FF

 

Output on logic analyser:

spidev_test_mode_3.png

Outcomes