You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Xuhongv, I recommend you check all timing parameters! Your duty cycle should be 2% for channel 0 but it is 1,84% only. In order to correct this you need to modify the delays busy loop. More appropriate values are listed in the thread "160 MHz CPU ...".
Because the 1Khz pwm then period = 5000 , so I want the 10kHz pwm , and I set code as:
but show result : (is not 10Khz , please tell me how to set the 10kHz pwm )
The text was updated successfully, but these errors were encountered: