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: Occasionally hanging bus

Part Number: TMAG5273

We are using the TMAG5273 in angle sensor mode, set up for 3 byte transfer.

It works in general, but when we leave it running for many hours/days, it will hang with either the SDA or SCL (we've seen both) held low.

This seems to happen much more often if we have the IRQ output configured in pulse mode (where it generates a 10 KHz clock if not cleared), but also happens less frequently in the level output configuration.

It feels like there is some race condition or other small time window of access that can confuse and lock up the part. Is this a known issue or are there suggestions on how to further debug and solve this?

Best regards,

Craig

  • Hello Craig,

    Thanks for posting to the PS forum. The team will review your question and get back to you as soon as possible.

    Best,

    Isaac

  • Hi Craig,

    Can you tell me if you are using the TMAG5273EVM or a custom board?

    When you run into this issue, is it possible for you to disconnect the microcontroller from the TMAG5273 to see if the pins are still pulled low?  Also, can you try resetting the microcontroller to see if it resolves the issue?

    Thank you,

    Mekre

  • Hi Mekre, thanks for the response

    This is a custom board, and I'll try your suggestions and get back to you.

    One very easy way to have the part lock up is to enable the IRQ pulse mode and not clear the IRQ in software, which makes the IRQ line a 10KHz clock signal. I do not believe that this is causing a power or noise issue in my circuit, the signals look fine, there is a 10uF and 0.1uF bypass directly on the part, the I2C pullups are 4.7k, so things look fine as far as I can tell.

    You're right, I'll do some simple tests to confirm if it's the part or the micro hanging, sorry I didn't do that before posting.

    Best regards,

    Craig