On s3c2440 spi CPHA issues.

mind entropy mindentropy at gmail.com
Sun Oct 13 02:30:24 EDT 2013


Hi,
  I am interfacing a mini2440(master) and a ti MSP430(slave). I am
using  spidev and testing using spidev_test. When I use the SPI_MODE_1
i.e CPHA enabled I lose a bit. When I send 0xAA pattern I get a 0x55
pattern. What seems to be the problem? I have tested the slave code by
connecting another msp430 as a master and sending data at 12Mhz in
different modes and it is fine. Is the spi transfer in s3c2440 tested?

Thanks,
Gautam.



More information about the linux-arm-kernel mailing list