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

1,418件の閲覧回数
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 件の賞賛
返信
7 返答(返信)

1,403件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try if increasing heap will help.

BR, Petr

0 件の賞賛
返信

1,400件の閲覧回数
priya_p
Contributor IV

already tried, still not working.

0 件の賞賛
返信

1,394件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

ok, so can you share your project?

Br, Petr

0 件の賞賛
返信

1,378件の閲覧回数
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 件の賞賛
返信

1,365件の閲覧回数
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 件の賞賛
返信

1,331件の閲覧回数
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 件の賞賛
返信

1,283件の閲覧回数
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 件の賞賛
返信