This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMAG5273: Usage of operation mode wakeup & sleep

Part Number: TMAG5273

Hello,

i try to make use of the wakeup & sleep mode of the TMAG5273. My device configuration looks like this:

According to this configuration i would expect that the device wakes up every 100 ms and generates an interrupt after the conversion of XYZ is complete. But no interrupt is generated, even when i wait several seconds. When i use the device in continuous conversion mode it works fine including interrupt generation. What do i have to do to make the W&S mode work?

Thanks

A. Sengespeick

  • Hi Arne,

    The typical use case for utilizing the interrupt with wakeup and sleep mode is for waking up the device based on magnetic flux density readings.  In this mode, the device automatically provides an interrupt, exits wakeup and sleep mode, and enters standby mode when the interrupt condition is met.  

    I will need to check internally if the use case you mentioned works with the device.  I should be able to provide my next update tomorrow or Monday.

    Regards,

    Mekre

  • Hi Arne,

    Sorry for the delay.  I still need to verify a few things internally.  I should be able to provide my next update tomorrow.

    Regards,

    Mekre

  • Hi Arne,

    If RSLT_INT is set to 1, the interrupts that you are expecting could only be output on the SCL pin instead of the INT pin on the device.  The following code snippet should produce the 100 ms pulse signal that you are expecting:

    writeSingleRegister(0,0x14);
    writeSingleRegister(2,0x77);
    writeSingleRegister(8,0xAC);
    writeSingleRegister(1,3);

    In the above snippet, the first argument to the writeSingleRegister function is the register address and the second argument is the value to write to that register.

    Regards,

    Mekre

  • Hi Mekre,

    the interrupt on SCL works as you described. It would be nice to mention this behavior of the device in the datasheet, because at the moment the information provided suggests that it is possible to use the INT-Pin in W&S-Mode.

    Regards,

    Arne