User Activity

I use LIS2DH12 to determine the position of 6D. My task is to get interruption when the accelerometer is positioned with the + X axis at an angle of 50 degrees or more. Autumn X is also disabled. In this case, the acceleration along the X axis = 1g. ...
Real-time clock M41T62 per day leave for 6 minutes henceforth. I found out that the quartz frequency is about 32.9 kHz. Program calibration does not reduce this inaccuracy. Do I have a defective chip or I don’t understand something?