In FreeRTOS, while executing the tasks, automatically it is going to WKPU ISR and remain in ISR only

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

In FreeRTOS, while executing the tasks, automatically it is going to WKPU ISR and remain in ISR only

2,429 次查看
priya_p
Contributor IV

In FreeRTOS, I am using 2 tasks which need RTC. For 1st task it is executing smoothly, but for second task it is triggering WKPU ISR and stuck in ISR only. Why it is happening so? 

标记 (5)
0 项奖励
回复
7 回复数

2,414 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try if increasing heap will help.

BR, Petr

0 项奖励
回复

2,411 次查看
priya_p
Contributor IV

already tried, still not working.

0 项奖励
回复

2,405 次查看
PetrS
NXP TechSupport
NXP TechSupport

ok, so can you share your project?

Br, Petr

0 项奖励
回复

2,389 次查看
priya_p
Contributor IV

I am attaching the sd card code, here also WKPU interrupt is triggered. Not able to understand why it is triggering.

0 项奖励
回复

2,376 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

seems it is because you call printf before start scheduler. Try to comment those 2 lines and print within tasks.

Br, Petr

0 项奖励
回复

2,342 次查看
priya_p
Contributor IV

Tried that one but not at all working. The uploaded code is not running on FreeRTOS. It's a code without freeRTOS component. 

0 项奖励
回复

2,294 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

the project you shared above is using FreeRTOS, and it worked on my side after doing modification I wrote.
If have different project try to share it too.

BR, Petr

0 项奖励
回复