AnsweredAssumed Answered

Connect accelerometer to stm32

Question asked by sokolc.anton on Dec 4, 2011
Latest reply on Dec 12, 2011 by sokolc.anton
Hello. I have troubles with connecting adxl345 to stm32f103vet6.
When I try to read a data from device, I always get '0'. For example:

int16_vect3 myVec;
ADXL_GetACC(myVec);
///myVec.x now is '0', myVec.y=0,myVec.z=0

I'm sure that I connect and initialize the accelerometer properly - http://pastebin.com/T4fuArEr


Outcomes