TomF 0 Posted September 1, 2013 Report Share Posted September 1, 2013 Not sure if its a bug? If i set the simulator clock to < 100k, the simulator simulates at 100k. Im trying to simulate a device running at 32kHz, and the simulator appears to be running the code at 0.3MHz (300k) ? Quote Link to post Share on other sites
Dave 0 Posted September 2, 2013 Report Share Posted September 2, 2013 TomF Not sure if its a bug? If i set the simulator clock to < 100k, the simulator simulates at 100k. Im trying to simulate a device running at 32kHz, and the simulator appears to be running the code at 0.3MHz (300k) Not a bug :-) The simulator always runs as fast as it can. Telling the simulation environment a different clock rate tells the plugins what the clock speed is. This enables the stopwatch plugin (for example) to report times in standard units rather than just ticks, or the LCD plugin to determine how many clock ticks for it's fixed time delays. Regards Dave Quote Link to post Share on other sites
TomF 0 Posted September 5, 2013 Author Report Share Posted September 5, 2013 Awesome thanks. MAkes perfect sense now Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.