??? 05/24/05 21:28 Read: times |
#93846 - Timer 0 interrupt and Serial interrupt |
In my project, I am facing serial receive data loss problem.
after debug In my board, I use serial interrupt to received data from PC. on the other hand, I place the ADC code inside the timer0 interrupt function, so that i can determine the sampling time. It may result in serial data loss. After I place the ADC code in main function and disable the timer0 interrupt. I found the serial port work well without data loss. At this moment, i can use the CRO to check the sampling rate. However, it may change due to modification of the code. How can I solve this problem? Thank you in advance. Regards, Ray |
Topic | Author | Date |
Timer 0 interrupt and Serial interrupt | 01/01/70 00:00 | |
Don't | 01/01/70 00:00 | |
Looks like problem solved... | 01/01/70 00:00 | |
ADC Interrupt![]() | 01/01/70 00:00 |