Jump to content
  • Advertisement
Sign in to follow this  
CProgrammer

converting cycles into time

This topic is 5472 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I know how many cycles a process takes and I know how fast my microcontroller is, how do I calculate the time a process takes(convert cycles to time). -CProgrammer

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
How do you know the frequency?

Sorry kinda newbish :P.

Share this post


Link to post
Share on other sites
The frequency is the usual method of specifying how fast the microcontroller is. Generally you have a few different options, such as internal oscillators, external RC or crystal oscillators, watch crystals for some timing applications, etc., most of which can be set to different speeds.

Basically - read the data sheet.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!