Part Number: MSPM0G3519
Dear TI Expert,
I am trying to configure the TIMA0 timer in PWM mode.
However, I am encountering an issue: when I start the counter by setting the EN bit in the CTRCTL register, the Capture/Compare Register (CC) is reset to zero. As a result, I need to reconfigure the CC register again.
When I compare this behavior with the results from the SDK example code, I notice a difference — in the SDK example, the CC register does not change when the timer is enabled.
I am wondering whether I might have made a mistake in the initialization sequence, perhaps configuring the registers in the wrong order.
Could you please help me understand what might be causing this issue?
Thank you!