12-01-2021 09:58 AM
Hello,
I have been using the BMA400 Sensor to get X, Y, Z axis data from the sensor with nRF52832 Controller. But Z-Axis is continuously showing the 0 Value regardless of the sensor position.
I tried reading the set configuration on the sensor and it is correct as mentioned in the accelerometer.c code on GitHub, link to which is Accelerometer_Code.c .
Regards,
Bilal
Solved! Go to Solution.
12-01-2021 12:03 PM
Hello Bilal-Chaudhary,
Could we know your hardware diagram?
If you use SPI or I2C to communicate with BMA400, you could capture I2C or SPI waveform to see the actual communication, and check if actual z axis data was 0 value.
12-02-2021 12:06 PM
Hello,
I am using I2C for communication.
But the issue had been solved. It turned out to be the buffer issue.
Thanks,
Bilal
12-03-2021 07:14 AM
Hello Bilal-Chaudhary,
Good.