AnsweredAssumed Answered

ADXL345 3 Wire and 4 Wire SPI Example Code

Question asked by neilzhao Employee on Aug 11, 2011

Attached are the ADXL345 3 wire and 4 wire SPI example code. It is verified on EVAL-ADXL345Z-M, the processor is ADUC7026, the development tool is KEIL C. I used GPIO to simulate the 3-Wire and 4-Wire SPI Interface of ADXL345, so it can be repotted easily with other processors.

Outcomes