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.

MSPM0G3507: MSPM0G3507 PWM failure

Part Number: MSPM0G3507

Tool/software:

Hello Everyone,

I am using MSPM0G3507-EVB-Board for testing purpose. I am trying to implement/ run PWM example given in sdk i.e. "timx_timer_mode_pwm_center_stop_LP_MSPM0G3507_nortos_ticlang". In this i tried to modify its syscfg settings to generate 18KHz of frequency output and also enable 'Zero Event' interrupt. But after enabling this interrupt, i noticed that i got output frequency of 96Hz only and if I run this program through ccs in debug mode it gives me proper 18KHz frequency. 

Why this difference in debug and run mode. How to solve this error?

  • Without working out the numbers, my first guess is that the debugger is (effectively) keeping the CPU from going into STOP2 mode. Do you get a different result if you change "System->SYSCTL->Low Power Policy" to e.g. SLEEP0? (With an 18kHz interrupt rate STOP2 may not be suitable anyway.)