AIS3624DQ returning same vale on all three axis
Hi,
I configured the AIS3624DQTR sensor by using standard driver given by ST on GitHub, I am able to set all parameter correctly but when I am trying to read X,Y and Z axis. It is returning same value on all axis and value is not changing by moving sensor.
I configured the sensor by using poling example code:
whoamI = 0;
ais3624dq_device_id_get(&dev_ctx, &whoamI);
if ( whoamI != AIS3624DQ_ID )
while (1); /*manage here device not found */
/* Enable Block Data Update */
ais3624dq_block_data_update_set(&dev_ctx, PROPERTY_ENABLE);
/* Set full scale */
ais3624dq_full_scale_set(&dev_ctx, AIS3624DQ_6g);
/* Configure filtering chain */
ais3624dq_hp_path_set(&dev_ctx, AIS3624DQ_HP_DISABLE);
//ais3624dq_hp_path_set(&dev_ctx, AIS3624DQ_HP_ON_OUT);
//ais3624dq_hp_reset_get(&dev_ctx);
/* Set Output Data Rate */
ais3624dq_data_rate_set(&dev_ctx, AIS3624DQ_ODR_5Hz);am I missing any step in configuration? please let me know.
I checked all above value is configured correctly.
