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
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?:
Please let me know if you still have issues.