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.

MSPM0-SDK: [MCAL] Pwm_Init overwrites Gpt configured channels

Part Number: MSPM0-SDK

Tool/software:

Hello,

We detected an issue when using GPT with PWM. The issue is that Pwm_Init overwrites Gpt configured channels knowing that the configurations of PWM are not including gpt configured channels.

Here is how to reproduce the issue:

  1. Call Gpt_Init.
  2. The Gpt module is working fine. And gpt interrupt is working as expected.
  3. Call Pwm_Init.
  4. Pwm_Init overwrites timer channel registers regardless if it is configured in PWM or not and gpt is not working. I will attach snaps from registers after Gpt_Init and before Pwm_Init  and after Pwm_Init.

This is a critical issue. Please advise on a workaround or a fix. Thank you.


Best regards,
François.