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:
- Call Gpt_Init.
- The Gpt module is working fine. And gpt interrupt is working as expected.
- Call Pwm_Init.
- 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.