LIS3DH using I2C HAL - Not reading acceleration data
Hi everyone,
Based on the drivers from ST GitHub, I developed my own one, but I can't understand why it's not working. I can communicate with the accelerometer and I can read the registers, but I don't know why i am having troubles to read the acceleration data correctly.
It would be nice if someone knows if it's because I'm not writing to the correct registers at the start-up, or because I'm not reading correctly the acceleration data, so the status register is not cleaned.
Thanks!!
I attach below the link to my .zip file of all my project
