LSM303AGR Magnetometer Self-Test Fails on Z-Axis
I'm using the LSM303AGR magnetometer with an STM32L4 via I2C + HAL. The built-in self-test works fine for X and Y, but Z-axis always fails — the delta (self-test vs. normal) is out of range. Set UpSTM32L4, I2C, HAL driversMagnetometer config: 50 Hz...