Have trouble with the duty cycle settings.
Trial and error gave me for 20msec period, the duty cycle should vary from 0-1024 to get working pwm between 0 and 100%.
For other period lengths, these min/max values seem to be different, as pwm doesn't work as expected when i use the 0-1024 for other period values.
There is a define PWM_DEPTH 1023 in the document, which is not used within the document itself.
- Is there a difference between NONOS SDK and RTOS SDK with regards to duty cycle values ?
- Are there other differences between both SDK's regarding PWM API's ?
- Is there a working RTOS example using PWM ?Statistics: Posted by hreintke — Mon Feb 08, 2016 4:16 am
]]>