On s3c2440 spi CPHA issues.

From: mind entropy <hidden>
Date: 2013-10-13 06:30:24

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help