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.

TMAG5170-Q1: TMAG5170A1EDGKRQ1

Part Number: TMAG5170-Q1

Dear TI Team,

I am working on setting the magnetic range solution for TMAG5170A1 sensor.

What results do I achieve when the setting is done as figure 1 compared to figure 2 (yellow marked)?

Could the setting be carried out as in figure 1?

Figure 1

Figure 2

  • Prince,

    The sensitivity range defines what the full scale output code from the ADC will be.  The output is naturally 12 bit, but is expanded to 16 bits whenever averaging is enabled.  In +/- 25mT range signals above 25mT would saturate the ADC input, where using +/-50mT would require inputs greater than 50mT to saturate the ADC.

    A result of setting each axis to a different range is that you might be able to target better bit resolution for weaker inputs on specific axes, and avoid saturating axes with large inputs.  This may be helpful depending on your measurement case.  

    When measuring angle you should be careful.  The device will use the outputs "as is" to determine the actual angle without accounting for mismatch in this setting.  For the arctangent function of the CORDIC to work well, the amplitudes of both the sine and cosine outputs should match.  Using differing ranges could create an amplification of one axis by 2x or 4x relative to the one of the others, and this would potentially skew an already matched output.  If the mismatch on the input magnetic field is large enough, however, this might be strategically implemented to help normalize the results.

    Thanks,

    Scott

  • Thanks Scott for the detailed reply.