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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

475 Views
priya_p
Contributor III

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? 

0 Kudos
7 Replies

460 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try if increasing heap will help.

BR, Petr

0 Kudos

457 Views
priya_p
Contributor III

already tried, still not working.

0 Kudos

451 Views
PetrS
NXP TechSupport
NXP TechSupport

ok, so can you share your project?

Br, Petr

0 Kudos

435 Views
priya_p
Contributor III

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

0 Kudos

422 Views
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 Kudos

388 Views
priya_p
Contributor III

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

0 Kudos

340 Views
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 Kudos