??? 02/28/05 20:43 Read: times |
#88693 - The point Responding to: ???'s previous message |
Stewart Mathers said:
i know its a drop in replacement but whats the point. The 8751 has exactly the same pins as the T89C51RD2. currently T2 is acting as P1.0 to enable/disable the motots, T0 is setting the baud rate and T1 is a 60hz clock on pin 3.4 but i need a second timer. i was hoping there was a way to program the micro so i can use P1.0 to enable/disable the motor driver, T1 for the clock but have T0 to set baud rate while being a second timer at the same time. i need 2 clocks to step two motors independantly. I think it may be because with each post a bit more info is supplied. Originally you wanted two timers and 9600 baud on an 8751 which only has 2 timers. Next you say you are using T2 which you only get on an 8052 upwards and you mention some motors. Anyway, 60Hz is damn slow so, depending on how much jitter you can stand on the output and the resolution of the phase between the two 60Hz signals, you can just run one timer at say 600Hz and create both 60Hz signals in the ISR. Ian |
Topic | Author | Date |
2 timers plus 9600 baud for serial | 01/01/70 00:00 | |
8751 | 01/01/70 00:00 | |
Fossil | 01/01/70 00:00 | |
recommended | 01/01/70 00:00 | |
drop in | 01/01/70 00:00 | |
Mode 3 | 01/01/70 00:00 | |
RE: fossil | 01/01/70 00:00 | |
So its a drop in replacement ? | 01/01/70 00:00 | |
if thinking is too much | 01/01/70 00:00 | |
re: so its a drop in replacement | 01/01/70 00:00 | |
The point | 01/01/70 00:00 | |
re: point | 01/01/70 00:00 | |
So... | 01/01/70 00:00 | |
processor | 01/01/70 00:00 | |
Wrong | 01/01/70 00:00 | |
solution | 01/01/70 00:00 | |
relatively ahead | 01/01/70 00:00 | |
re: | 01/01/70 00:00 | |
you might | 01/01/70 00:00 | |
re: | 01/01/70 00:00 | |
can not use a timer that is not there | 01/01/70 00:00 | |
re | 01/01/70 00:00 | |
the result of incomplete | 01/01/70 00:00 | |
Clocks | 01/01/70 00:00 | |
re: | 01/01/70 00:00 | |
Clock source | 01/01/70 00:00 | |
An Answer | 01/01/70 00:00 | |
Re: an answer | 01/01/70 00:00 | |
That one's a goner too | 01/01/70 00:00 | |
"Clock" | 01/01/70 00:00 | |
re: clock | 01/01/70 00:00 | |
simple, my dear Watson | 01/01/70 00:00 | |
re: simple | 01/01/70 00:00 | |
T89C51 RD2 | 01/01/70 00:00 | |
Plastic DIP ? | 01/01/70 00:00 | |
budget | 01/01/70 00:00 | |
Budget | 01/01/70 00:00 | |
AT89C51RD2 | 01/01/70 00:00 | |
gladly | 01/01/70 00:00 | |
re: | 01/01/70 00:00 |