Tool/software:
Dear Team,
I hope you are doing well.
I am Bhairav, currently working on a project using the MSPM0G3507 controller. I am facing an issue with configuring two timers and one PWM simultaneously.
Here is the setup I am trying to implement:
-
Timer1 is based on TimerA0 series, configured to generate an interrupt.
-
Timer2 is based on TimerA1 series, also intended to generate an interrupt.
-
PWM is configured using TimerG0.
I have initialized both timers and the PWM module. When I use one timer with PWM, the setup works fine. However, when I try to use both TimerA0 and TimerA1 along with PWM (TimerG0), only one timer works properly. I am not able to generate interrupts from the second timer (A1).
I have enabled the required clocks and NVIC interrupts, and also implemented the ISR for both timers. Despite this, one of the timers does not seem to trigger the interrupt as expected.
Could you please help me understand if there is any specific limitation or configuration required when using TimerA0, TimerA1, and TimerG0 together?