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

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

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

1,610 Views
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? 

0 Kudos
Reply
7 Replies

1,595 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try if increasing heap will help.

BR, Petr

0 Kudos
Reply

1,592 Views
priya_p
Contributor IV

already tried, still not working.

0 Kudos
Reply

1,586 Views
PetrS
NXP TechSupport
NXP TechSupport

ok, so can you share your project?

Br, Petr

0 Kudos
Reply

1,570 Views
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 Kudos
Reply

1,557 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
Reply

1,523 Views
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 Kudos
Reply

1,475 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
Reply