Hello,
I am using the TMAG5273 for testing in order to detect the magnet's location.
I have both the A1 and A2 version as i am testing which one is more suitable in my application.
I am using ESP32 as a uC to get the I2C values
I am using these parameters in the register mentioned (continuous mode - and X,Y,Z channels enabled - magnetic range for all axis 80mT)
I also followed the datasheet to get the value of B.
but the results seems not correct, even when there's no magnet at all the value fluctuate between 0 and 159. the fluctuation is random so there's no pattern.
I am not quite sure what cause this problem and how i can fix it?
The problem remain even if i change the magnetic range to 40mT or change the A2 version.
The IC detect the magnet when it's near the IC but when the magnet doesn't exist it start to fluctuate (sometimes it stay in 0 for few seconds and sometimes in 159 for few seconds).
You can check the image attached.
Is there anyone who tested the device could provide me any support about the reason?
Looking forward to your support.
Thanks.