lpcware

SPI Frameformat=TI_SSI & CPHA=0 doesn't work

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by giladkapel on Tue Jun 02 07:02:46 MST 2015
Hi,

I'm trying to use SPI&DMA to send data
I configure the SPI to use TI_SSI format (no break between frames) and set CPHA=0 (data is sampled on clock rise).

This just doesn't work and the data is sent on the clock fall (CPHA=1).

If I change the frame format to SSP then CPHA=0 does work.
If TI_SSI is used then CPHA=1 is 'locked' no matter what I try to set it to.

Is the a bug or a feature?

Thanks

Gilad.

Outcomes