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 : Trame de démarage du TMAG5170 depuis un MSP430

Part Number: TMAG5170

Bonjour;
J’ai un code qui me permet d’envoyer des trames en SPI depuis le MSP430 FR2433 et j’aimerai le couplé avec un TMAG5170.
Je me demande quels sont les trams de démarrage à envoyer et si dans ce programme je dois initialiser le TMAG5170 d’une manière spécial.
Merci pour votre temps et votre réponse

  • Maxime,

    Thanks for reaching out.  We do have some code examples for configuring TMAG5170 available here:

    https://www.ti.com/tool/download/TMAG5170-CODE-EXAMPLE

    At a minimum, to enable the device you would need to enable the axes you wish to measure using MAG_CH_EN in the SENSOR_CONFIG register.  Setting OPERATING_MODE in the DEVICE_CONFIG register will allow you to set the desired start of conversion requirement.

    Details regarding each register function are available starting in section 7.6 of the datasheet.

    Thank you,

    Scott