This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI configuration for a LIS302DL accelerometer

I'm trying read device ID of accelerometer lis302Dl connected through SPI Present in a davinci EVM .i have set the mode as 3 and SPI word length as 8. I'm unable to read the ID correctly .Can anyone help in configuring SPI controller .i'm using CCS

 

 

Regards,

Suganya