Tool/software:
Hello,
I'm having trouble configuring the TMAG5273 sensor to enter wake and sleep modes and to trigger an interrupt when a threshold is crossed.
When I use continuous conversion mode, the device works well and triggers an interrupt when a magnet is nearby. However, when I try to configure it for wake and sleep mode with a specified time interval, it does not trigger an interrupt at any point.
The configuration sequence is as follows:
INT_CONFIG_1
-> 0x64 (Interrupt asserted when a threshold is crossed, INT interrupt pulse for 10 µs, and interrupt routed through INT pin)X_THR_CONFIG
-> 0x10Y_THR_CONFIG
-> 0x10SENSOR_CONFIG_1
-> 0x33 (X and Y channels enabled, sleep time set to 15 ms)DEVICE_CONFIG_2
-> 0x03 (Sleep and wake mode enabled)
Any insights into why the interrupt isn’t triggering in sleep and wake mode would be greatly appreciated.
Thanks in advance for your help!