ADXL345 on a magnet

Good morning, 

I'm using a ADXL345 for my project, its board is attached to a 30x2mm neodinium magnet with a non-conductive rigid glue. 

The sensor was brand new and working before attaching it to the magnet, now it's not. Facts: 

- by changing the orientation in space <x,y,z> of the sensor, the gravitational acceleration is not visible along the expected axis (not at all).

- the other digital registers I use (such as to adjust rate, sensitivity etc) are working as usual.

- the code I'm using is tested already on different "ADXL345"s, no problem

Do you have any idea why this setup is not working? My last theory regards possible damage from high shocks while attaching the magnet (and the sensor with it) on a metallic surface (even though 10'000g look unreachable, as per datasheet).

Thanks in advance

Parents
    •  Analog Employees 
    on Oct 15, 2019 3:21 AM

    The magnetic field should not affect the accelerometer device operation since the sensor and package do not have any metals susceptible to the magnetic field, though we haven't specifically characterized for this.

    Based on the description you have on the failure sensor, does it recover when moved out from the magnetic field? Have you had a chance to test another sensor and see if it's reproducible? 

Reply
    •  Analog Employees 
    on Oct 15, 2019 3:21 AM

    The magnetic field should not affect the accelerometer device operation since the sensor and package do not have any metals susceptible to the magnetic field, though we haven't specifically characterized for this.

    Based on the description you have on the failure sensor, does it recover when moved out from the magnetic field? Have you had a chance to test another sensor and see if it's reproducible? 

Children