Well my application requires that I constantly keep receiving data from a ADC and sending the converted values to the serial port. This operation should not be disturbed by anything like having to reload the timer.
I’m using the timer to drive a motor for a particular duration at a specified speed (the speed and distance can be changed by the user). This is for a surface roughness measurement machine.
The motor moves a arm with a gauge at one end along the surface of a material.
Your link to use the 8253/8254 was good, but i’ve already made the system using a second controller as a slave to do the counting. I had trouble interfacing the two AT89S52 in serial (I2C style) comm. but got them to work using one ENTIRE port to send data and two acknowledgement lines.
I will definitely try the method shown in your link. Thanks for the help.