Some problems about ism330dhcx
Hi, st
Now I've found some new problems.
Sometimes the value read from who AMI register will be 0x48. After finding this problem, I suspect that the connecting wire is unstable. After replacing the DuPont wire, the value read back to normal (0x6b). I want to ask what is the reason for this strange phenomenon.
In addition, I found that the accelerometer data rate can only be set at 833hz or below. If the accelerometer data rate is set above 1667hz (1667hz,3333hz,6667hz), the value read from the register is still the previous value, that is, the data setting above 1667hz always fails. By the way, there is no such phenomenon in the setting of gyroscope.
So I updated the driver file to the version of 5 days ago (ism330dhcx: fixed examples # 107) in Git library.
A step was added to the driver calling routine of this version(ism330dhcx_device_conf_set), but this step didn't seem to succeed.
After execution, I also read the value of this register(ism330dhcx_device_conf_get(&dev_ctx, &rst)), and the returned value is 0(rst == 0).
In other words, the device_conf bit is not really set to 1 and remains in the default state after the set is executed.
But according to the datasheet, it seems that this bit must be set to 1 to write the new configuration normally?
Now I'm a little confused, can you help me answer the three questions of appeal?
Best regards
June6
