Processor Speed - Pulsout
curious1
Posts: 104
Here's an easy one:
Does the processor speed·affect the PULSOUT ?
If the BS2 at 20MHz is running a stepper driver with:
··· FOR counter = 1 TO 1200
··· PULSOUT 14,1
··· Pause 0··········
would the motot run at a higher RPM if the BS2sx at 50MHz·ran the same code ?
I wouldnt think so, but..............? I also noticed that if I PULSOUT without the counter it runs substantially faster, I guess because it doesnt have to count the pulses. So if I did this with both stamps, would one run faster than the other ?
····· DO
··········· PULSOUT 14
······LOOP
Thanks
Does the processor speed·affect the PULSOUT ?
If the BS2 at 20MHz is running a stepper driver with:
··· FOR counter = 1 TO 1200
··· PULSOUT 14,1
··· Pause 0··········
would the motot run at a higher RPM if the BS2sx at 50MHz·ran the same code ?
I wouldnt think so, but..............? I also noticed that if I PULSOUT without the counter it runs substantially faster, I guess because it doesnt have to count the pulses. So if I did this with both stamps, would one run faster than the other ?
····· DO
··········· PULSOUT 14
······LOOP
Thanks
Comments
Duration dropping from 2us to 0.8us would be substantial if the drivers were capable.
Please bear with me, I'm learning.
Regards
Appreciative