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.

MSPM0G3507-Q1: Library or example code to determine the angle from the sine/cosine analog data from an analog sensor?

Part Number: MSPM0G3507-Q1

Tool/software:

Hi team,

As the title says... Do we have any such code in our middleware? Our SDK seem to be only using Hall sensors for angle determination...

Thank you.


Best regards,
François.

  • Hi Francois,

    I am unaware of any code library for MSPM0 to get the angle from an analog sensor's data. This seems dependent on the sensor's data format/output range and shouldn't be too complicated. We do have a MATHACL which can assist if needing to calculate the angle.

    Regards,
    Luke