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.

MSPM0G3519: Pwm driver V01.03.00 issue

Part Number: MSPM0G3519

Tool/software:

In the Mcal version-00.02.04.00, Pwm module was configured to use TIMG0 and TIMG14 to generate Pwm output, but when I changed the configuration from tresos to use TIMA0 it didn't work as expected.

And after some debugging it was found that timer instance array defined in Pwm_Priv.c which contains the base addresses for the timer instances was arranged in a different way than what was mentioned in the user guide, and also the function Pwm_Map_Timer_Instance_To_Map_Index which is defined in the same file.

So, as a result, when trying to use TIMA0 it was TIMG7 that actually got initialized and started the count.