Hi,
I want to use E_AHI_TIMER_0 to generate an interrupt。
But I ran into some problems, and I found that I only triggered an interrupt, but the program repeated my registered
interrupt function until the watchdog reset.
The SDK is SW-4170
Device is JN-AN-1217 Base device Router
Excuse me, where did I configure it incorrectly?
Here are some of my configurations
1.Initialize timer 0
2.Registration Interrupt function
3.Config irq_JN516x.s
4.log
Hi Tianheng, I hope you're doing well!
The issue could be related to an uncleared interrupt flag causing the interrupt to be constantly repeated, thus, causing a watchdog reset.
Could you please check to see if you added the following API to clear the interrupt flag?:
(void) u8AHI_TimerFired(E_AHI_TIMER_0);
Please let me know if you still have issues.
Best regards,
Sebastian
Hi,Delrio
Thank you for your reply.
With your help,I've solved the problem. Thank you very much.
Best regards,
Han
Hi Han,
It's good to hear the issue was solved!
Best regards,
Sebastian