Tool/software:
Need to capture duty cycle of input PWM signal having frequency of 400Khz. For this I have used existing example timx_timer_mode_capture_duty_and_period_LP_MSPM0G3507_nortos_ticlang with following change
1. CPU Clock Frequency change to 80Mhz with sysclk
2. Capture module and PWM module uses 80Mhz clock
Issue
duty cycle calculation is coming as 117value for input PWM signal frequency 400Khz and Duty cycle set to 60
CPU clock
Capture module
PWM module
output