Hello!
I have a problem with Keil Simulator using an C515C-L for a timer program.
Look here --> www.hashbin.com/293.html
The Problem is that the interrupt for timer1 is 10 seconds too late.
Can anyone help me???
Greetings and please excuse my bad english Jan Wiemer
I would come to a different if statement for the "One second compare".
if (int3_count == 9980) { /* Jedes 10000ste Mal */
Thank ya! But the Problem with the 10-Seconds-Delay still exists!
.....
Jan Wiemer
The timer interrupts at rollover and hencenormally upcounts from the loaded value. This will give a count of 166 almost double the expected time.I was not able to understand the comments. So probably your timer should be loaded with 166 tor -89.
Whats your osc frequency?
Suvidh
View all questions in Keil forum