When I'm using the DLP filter on the ICM-20948, the measures get divided for some reason. Do I have to enable something special to use the DLP?
myFSS.a = gpm2; // (ICM_20948_ACCEL_CONFIG_FS_SEL_e)myFSS.g = dps1000; // (ICM_20948_GYRO_CONFIG_1_FS_SEL_e)
ICM_20948_set_full_scale( (ICM_20948_Internal_Acc |ICM_20948_Internal_Gyr), myFSS );
ICM_20948_dlpcfg_t myDLPcfg; // Similar to FSS, this uses a configuration structure for the desired sensors
myDLPcfg.a = acc_d5bw7_n8bw3; // (ICM_20948_ACCEL_CONFIG_DLPCFG_e)
myDLPcfg.g = gyr_d5bw7_n8bw9; // (ICM_20948_GYRO_CONFIG_1_DLPCFG_e)
ICM_20948_set_dlpf_cfg((ICM_20948_Internal_Acc | ICM_20948_Internal_Gyr), myDLPcfg );
ICM_20948_enable_dlpf((ICM_20948_Internal_Acc | ICM_20948_Internal_Gyr),true);
If the last line has the argument as "true" measures from the accelerometer reads 64 counts for 1g, but if its false, ir reads 16384 for 1g, it's like its just dividing a sample instead of averaging it.