5 years, 8 months ago.

PWM on PC_7

Hallo, I'm tring to set a PWM on PC_7 but this example doesn't work. The debugger (I'm using keil) is blocked after the execution of the constructor function. Any suggestions?

Thank you.



1 Answer

5 years, 8 months ago.

Try commenting out the printf function.

Accepted Answer

Hi Eric, by looking in the pwmout_api. c I can see that the Timer 4 (that should be used for the PWM on PC_7) is just used for the us_ticker. This examplains why when I debug the code I find the debugger blocked inside the us_ticker functions. /media/uploads/andreatoscan/pwmout_api.c


posted by Andrea Toscan 14 Oct 2014