Issue while configuring the example of lis2dw12 sensor
Hi
I am trying to configure the accelerometer sensor to read the data polling as the example suggested in github
When I try to read
/* Read output only if new value is available */
lis2dw12_flag_data_ready_get(&dev_ctx, ®);
At initial the drdy will be high after that I am reading the lis2dw12_acceleration_raw_get(&dev_ctx, data_raw_acceleration); once reading this register the drdy value must be 0 but it is high and its reading this continuously.
is there any register I have to check and we have placed this sensor with different MCU and I am new to STM community.
Thanks,
