After deep sleep, using the io port to wake up will cause stack overflow(JN-AN-1246)

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

After deep sleep, using the io port to wake up will cause stack overflow(JN-AN-1246)

1,827 次查看
Tome-mbedded
Contributor II

hello @nxp1

I used the JN-AN-1246 project to compile the LTOSensor. When the sensor cannot join the network, it goes into deep sleep. So I enabled the DEEP_SLEEP_ENABLE macro. When I used the io port to wake up the sensor, it did not work properly and appeared

Hard Fault Handler and Stack Register Dump. What is the reason for this?

Tomembedded_0-1701852806745.png

Tomembedded_0-1701852963850.png

Attached is the print log

 

 

0 项奖励
回复
1 回复

1,793 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @Tome-mbedded

How are you modifying the base source code? Have you only defined DEEP_SLEEP_ENABLE macro in your code or did you add any other modification? In case you have added any other modification to the base source code, could you share it so I can try to test it on my side?

Could you please provide more details on the process you have followed to test the application?

Regards,
Eduardo.

0 项奖励
回复