wollewald / ICM20948_WE

An Arduino library for the ICM20948 9-axis accelerometer, gyroscope and magnetometer. It contains many example sketches with lots of comments to make it easy to use.
https://wolles-elektronikkiste.de/en/icm-20948-9-axis-sensor-part-i
MIT License
36 stars 5 forks source link

DLPF mode and the accelerometer #2

Closed DamarXCV closed 2 years ago

DamarXCV commented 2 years ago

Hi,

in examples\ICM20948_08_cycle\ICM20948_08_cycle.ino you wrote that you get wrong data if DLPF is applied. That is mostly intended because you NEED to set the acc DLPF to 7, if you want to use the DLPF, every other setting is out of specs. Take a look at ACCEL_DLPFCFG, Tabel 19, Page 65. And the sample rate divider is intended to work with a "disabled" DLPF (aka 1X AVG) as you can see in the tabel and also not strange. :D

wollewald commented 2 years ago

@DamarXCV , great thanks for the explanation. And evene more thanks for updating alle the example sketches. This is very helpful!