在mqx-lite系统中加入pwt功能出现系统死机问题(基于KEAZ128芯片)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

在mqx-lite系统中加入pwt功能出现系统死机问题(基于KEAZ128芯片)

878 Views
weilei
Contributor I

请教以下问题,多谢!

描述如下:

1,在操作系统mqx-lite中任意一个任务中加入pwt代码,操作系统死机。

2,加入的代码如下:

pastedImage_3.png

pastedImage_4.png3,仿真时代码一直停止在这里pastedImage_5.png

         意即就绪队列一直为空。

4,将此句代码注释掉则操作系统运行正常

0 Kudos
Reply
2 Replies

775 Views
weilei
Contributor I

4,将此句代码注释掉则操作系统运行正常

pastedImage_1.png

0 Kudos
Reply

775 Views
danielchen
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply