Tool/software:
Hi,
I am newer in this sensor,
Is there any easy example to teach me how to configure register with INT pin notify?
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.
Hi Adam,
Thank you for posting to the Sensors forum!
You can enable the device to send an interrupt via the RSLT_INT bit. You'll also need to set the INT_MODE bit as well, depending on how you want the interrupt to be sent. Make sure to also enable the desired magnetic channels via the MAG_CH_EN bits. From here you can use the OPERATING_MODE bits to determine how conversions are triggered, for more info on these modes refer to section 6.4 Device Functional Modes in the datasheet.
To help you with evaluation, we also have code examples that you can reference: https://www.ti.com/tool/download/TMAG5X73-CODE-EXAMPLE
Additionally, you can also evaluate this device using the TMAG5273EVM and the GUI, though you would also need to get the TI-SCB to interface with the GUI.
Best,
~Alicia
Hi Alicia,
Thanks for your quick reply.
I have a question about INT pin.
In the host MCU side, can INT pin be an input pin?
When TMAG5273 has data to send, it will lower the INT pin to notify the host MCU. Is this correct?
And I don't know in this scenario, how to configure TMAG5273.
Best Regards,
Adam
Hi Adam,
In the host MCU side, can INT pin be an input pin?
The INT pin, in this scenario, should be treated as an input pin by the MCU.
When TMAG5273 has data to send, it will lower the INT pin to notify the host MCU. Is this correct?
Yes.
The TMAG5273 can be configured via I2C communication. I would recommend looking at the coed examples for how to do this.
Best,
~Alicia
Hi Alicia,
Could you please answer my other question?
Thanks.
e2e.ti.com/.../tmag5273-how-to-configurate-register-to-use-int-pin-wake-up-host-mcu