2024-01-24 06:44 AM
Hi
I have a infinite loop that wait an event set in a gpio interrupt by
while(1)
{
UTIL_SEQ_WaitEvt()
...
}
It works.
Now, I want have a timer after this so, if the interrupt doen't fire for some second, I want to exec a callback function.
I added after UTILS_SEQ_WaitEvt
HW_TS_Start(idTmr,TMOUT);
The timer and callback function was created before the loop.
After the timer Start function , the interrupt works but the WaitEvent doesn't fire anymore.
Someone can help me?
Thanks
Solved! Go to Solution.
2024-02-02 03:40 AM
I didn't have the wakeup configurated. It was disabled. Putting it on Internal wake up it's works. My mistake
Regards
Sandro
2024-01-26 01:04 AM
Hello @AColl.7
Can you please provide more details about your configurations, the original code, the changes that you have made...
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-02 03:40 AM
I didn't have the wakeup configurated. It was disabled. Putting it on Internal wake up it's works. My mistake
Regards
Sandro