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: Clarification of magnetic axis modes

Part Number: TMAG5273

Hello,

I am trying to get some clarification on the magnetic axis modes described in SENSOR_CONFIG_1 register table. I understand the individual axes being on or off, but what is meant by modes XYX, YXY, YZY, and XZX (modes 8h - Bh)? There doesn't seem to be any reference to these in the rest of the datasheet.

Thank you,

Jamie

  • Hi Jamie,

    Thank you for posting to the Sensors forum!

    To help clarify, modes XYX, YXY, YZY, and XZX are useful when using one of the 1-byte reads where only the enabled data channels + conv_status + crc (if enabled) are sent by the device. 

    For example, if using XYX in the 1-byte 16-bit read mode with CRC disabled you would see the following:

    In the example above, only the channels X and Y are enabled.

    Best,

    ~Alicia

  • Hi Alicia,

    So in this example, is the x-axis sampled twice as often as the Y-axis? Why do we get two X-axis conversion results for every one Y-axis in the data packet?

    -Jamie 

  • Hi Jamie,

    So in this example, is the x-axis sampled twice as often as the Y-axis?

    Yes, the x-axis would be getting sampled twice as often. The reason for this, is to improve the accuracy for angle measurements as multiple channels cannot be sampled simultaneously. So, for the example previously mentioned, X would be sampled followed by Y, then X again. This way the sampled data from channel X can be averaged together to provide a more precise measurement of channel X when Y is being sampled.

    Why do we get two X-axis conversion results for every one Y-axis in the data packet?

    Forgive my mistake, the reported data packet would actually look like the image below:

    With the data reported via Axis1 being an average of the sampled data from the X-axis.

    Best,

    ~Alicia