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.

PWM frequency change after CSM unlock

Hi!

I have programmed a CSM password, and everything seemed to work fine (PWM frequency for example) until I've started the debugger and connect to the board, write the password and click unlock. The PWMs are not functional anymore, I mean the frequncy changed from 9KHz to 285Hz. Where should I look for an error?

Thank you,

Monica

  • I've noticed that after I unlock it, PLLCR changes from 0x0010 to 0x0000. And CLKCTL from 0xA505 to 0x0000.

    Also if I halt it from debugger and run it again I get a reset, which was caused by the watchdog. The system runs again at the expected frequency, until I unlock it again.

    Any suggestion?

    Thanks!