请教以下问题,多谢!
描述如下:
1,在操作系统mqx-lite中任意一个任务中加入pwt代码,操作系统死机。
2,加入的代码如下:
3,仿真时代码一直停止在这里
意即就绪队列一直为空。
4,将此句代码注释掉则操作系统运行正常
4,将此句代码注释掉则操作系统运行正常
Hi wei lei:
MQX Lite does not inlcude any peripheral drivers. I would suggest you add your PWM driver by PEx LDD.
Please follow below link for how to generate PWM signal using MQX, although it is for Standard MQX, the integration with Processor Expert should be very similar.
How to generate PWM signal using MQX
Regards
Daniel