Convert delays from 4mhz to 32mhz

bpowell

Senior Member
Okay...seems like this should be a simple question...but...

What is the conversion from 4mhz to 32mhz when calculating a pause?

I have an application that has a specific pause at 4mhz (1491)...what would that be at 32mhz? 1491 X 8?

Thanks!
 

techElder

Well-known member
Another way to think of it is if you left the pause at 1491 but increase the frequency x 8, wouldn't that make the pause time shorter?

So, you must increase the pause number to lengthen the pause time at 32MHz.

Your guess is good at 11,928.
 

erco

Senior Member
Should be close to 1491x8, including speed variations in code interpreting and statement execution at those two different clock speeds.
 

bpowell

Senior Member
Thanks gents! I'll roll with 11,928!

I imagine there will be some fine-tuning around there....but it's a good place to start!
 
Top