S32K148-Q176 FreeRTOS official example Project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K148-Q176 FreeRTOS official example Project

1,300 次查看
carolineliu_wiw
Contributor II

Hi,

I' m working with s32k148-q176 EVB, I try to test FreeRTOS explame project,“freertos_s32k148”. But when i press the Button sw4(PIN: PTC13), the LED has no change. I add one parameter “ctr” in Interrupt function "vPort_C_ISRHandler()" ,which is in rtos.c file. I open Real Time Expressions, want to check if the interrupt ISR execute or not. When i press the Button sw4,my parameter “ctr ” is still 0.

I have no idea, how to solve it.

Here is Debug window.

pastedImage_1.png

Can anyone help me?

Thanks.

Liu

2 回复数

1,159 次查看
carolineliu_wiw
Contributor II

Hi,Petr,

Thanks for your reply.

This problem is not about software(code). I check the connection of switch 3 and 4 . There are some hardware problems. These two switch cannot work. I have already contactednxp after-sales service department staff.

Liu

0 项奖励

1,159 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tried this demo example and add a variable similarly

pastedImage_3.png

pastedImage_4.png

When press SW4 red LED is ON and I see vPort_C_ISRHandler_cnt updating in Real Time Expression window.

pastedImage_5.png

Be sure you do not halt the Expression Values Refresh.

BR, Petr

0 项奖励