AnsweredAssumed Answered

Communicating between Blackfin 533 and ADXL345 over the SPI

Question asked by nasrullah on Jan 31, 2011
Latest reply on Feb 4, 2011 by TomA

Hi,

I am a student undertaking a 4th year design project which involves having a blackfin 533 talk to a ADXL345 evaluation board

I can set up the Blackfin SPI interface in talk-back mode -- connecting MOSI to MISO.

However I can't seem to talk to the ADXL345 in any sensible way -- I would be quite happy in reading back the x acceleration.

 

I have made a small project (attached) that reads the registers on the accelerometer, but the values read seem to be random. Any help with how to read the acceleration would be greatly appreciated.

Attachments

Outcomes