At 12:12 27/03/1997 +0100, you wrote: >I found in the 16C84 datasheet that when loading the TMR0 with a value, >we have to wait two cycles for it to synchronise. Do we have to reload >the TMR0 with a new value (the same in this case) each time it rolls >over 0? If I remember, this is not needed with the Intel 8051? > ## 2 cycles delay is normal, check carrefully the MICROCHIP data sheet all is explain inside ## Yes you have to reload the TMR0 register each time it reach 00, against 8051 wich have AUTO-RELOAD timer, 16C84 doesn't have and simply count from the initial value. Best regards, Philippe. +---------------------------------------------------------+ | Virtual Micro Design | | Try the Universal Simulator: UMPS | | E-Mail: p.techer@idls.izarbel.tm.fr | | WEB: http://idls.izarbel.tm.fr/entp/techer/P01.HTM | +---------------------------------------------------------+