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.
我在使用ucos时候使用了can 串口 pwm模块目前其他功能可以正常工作,就只有pwm不工作,查了一下相关寄存器发现pwm的计数器不计数。查了ucos代码移植,基本上没有涉及gpio的代码。所以就很困惑为什么不好用,希望能求助一下官方的工程师
建议您检查pwm这块配置,在不使用ucos-ii的情况下,有类似的问题吗?
问题已解决,是sysctrl文件里的配置问题