This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

28335 Timer0 Interrupt

Hi, I need to configure Timer0 interrupt to 2,5 kHz (400 us). Inside the interrupt I have a function that spends 280 us. When the interrupt is configured to 2 kHz (500 us) it works fine. Although, when I try to put it on 2,5 kHz, it only reaches 2,286 kHz and the processing (that should take 280 us) is now taking all the interrupt time (at about 875 us).

 

Can someone help me?