I use Timer1 on 500ms interrupt routine to run code for a real time clock.
On the PIC16F628A the time is quite accurate (about 1sec drift per day). On the 16F876 it's much worse, (about 15 seconds to the hour).
Both designs are the same as far as decoupling cap on the power supplies, 4MHZ Xtal with 33pf decoupling caps.
Can anyone shed some light on why there's such a big difference between these two models of PIC? BTW, It has happened now in two applications, so it's not some random thing. With both applications where I use the 16F876 the time just "runs away"
Thanks.
On the PIC16F628A the time is quite accurate (about 1sec drift per day). On the 16F876 it's much worse, (about 15 seconds to the hour).
Both designs are the same as far as decoupling cap on the power supplies, 4MHZ Xtal with 33pf decoupling caps.
Can anyone shed some light on why there's such a big difference between these two models of PIC? BTW, It has happened now in two applications, so it's not some random thing. With both applications where I use the 16F876 the time just "runs away"
Thanks.