- This topic has 1 reply, 1 voice, and was last updated 11 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Miscellaneous › Others › Looking for a programmable interval(Time) chip
If anyone can help.
I am looking for a programmable timer chip with interrupt generation function.
I should be able to load a time duration value into it and the chip should generate an interrupt for my microcontroller.
My application requires me to continuosly transmit data to the serial port from a ADC without too much gap in between two data packets. I’m using a lowly AT89S52 for the purpose and need time intervals of min. 30secs i.e data should be transmitted for only 30secs, NOT more.
Not using on-chip timer because reloading the timer interrupts my data stream.
Any help will be appreciated. Thanks
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.