We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I have a problem with the interrupts, I am working with the LPC1768. In the main() function I have an infinite while() loop. In this loop is a complex program that analyzes data from the ADC. I use SysTick to periodically perform other tasks. Until this moment everything works fine. But if I get a UART interrupt then SysTick no longer works. Please help.
Regards, Lukas
Whith a strage bug as you have, can be usefull to change the problem view. Yes maybe it is a stack overflow problem or not, a memory leak or other mistake with buffer or pointer.
Experience can help: in the past I was fight with a similar problem: the project was RTX based and almost complex.
After a lot of time the timer0 used by RTX stop to working...a USB host driver from another vendor that I used on my project was affected by an subdule bug:
on particular circumstances the ISR of USB routine are not clear/assert the interrupt!!!
Before review the code of thirty part software that my project was use, I'm view the problem on the wrong side: searching stack problem and so on.
I hope that you can fix soon as possible your problem.
Regards Maurizio
I also use the USB in my project, but I have the code from NXP. Thank you for the tip. I will check it.
Regards
Hi, the example of USB is to said ceck all ISR routine. The usb host driver that I have used was from NXP anyway.
Maurizio