2025-09-02 1:09 AM - last edited on 2025-09-02 1:14 AM by Peter BENSCH
Hello everyone,
I am currently using the LSM303AGR's magnetometer and accelerometer. After coding the self-test procedure from the datasheet, and noticed that the number of samples for the magnetometer self-test is way higher than the number of samples for the accelerometer self-test (5 for the Accelerometer, 50 for the Magnetometer).
When looking at the Application Note (AN4825: ultra-compact high-performance eCompass module based on the LSM303AGR), the number of samples to average is 5 at page 21/65 - Magnetometer self-test), whereas it is 50 in the next figure at page 22/65 (Figure 3. Magnetometer self-test procedure).
Which one should it be ?
Thanks in advance,
CJ