Post Created date
Avr instruction timing
but you did shout. Period.
Monday, 24 April 2017 - 21:07
Avr instruction timing
No worries, I have reposted it anyway. I feel the tone of the conversation could be more constructive, though. I wish you all good luck in your edeavours.
Monday, 24 April 2017 - 21:00
Avr instruction timing
I see. The nominal frequency is 16 which gets didived by 8 with my settings, leading to 2Mhz.
Monday, 24 April 2017 - 20:55
Avr instruction timing
sternst wrote: Nope. The 1µs is another evidence that it is running at 2Mhz (sbi and cbi take 2 cycles each).   Even with pipelining ? are the values given in the datasheed...
Monday, 24 April 2017 - 20:40
Avr instruction timing
So for one loop you have 6 clocks, an the pin is high for the two clocks from the SBI to the CBI. Humm. Seems high for 1us at 1Mhz, meaning 1cc. Can you please review my previous...
Monday, 24 April 2017 - 20:32
Avr instruction timing
I'm not familiar with that 'scope display, so the best I can say is that the high time appears to be 1us (1us per big division, right?) 1us per division, yes. You can also see...
Monday, 24 April 2017 - 20:26
Avr instruction timing
I don't understand why, since cbi sets the pin low in 1cc and then  rjmp takes 2 cc, which should mean 3cc == 3us at 1Mhz. Humm.. Maybe that pipelining does kick in here?...
Monday, 24 April 2017 - 20:21
Avr instruction timing
The code in the original post produces screenshot [1] (156us for 100 iterations, each iterations 3cc). In [2] one can find the simple, no delay program I was talking about, and in...
Monday, 24 April 2017 - 19:52
Avr instruction timing
I can confirm the tiny85 is running at 1Mhz since the pin toggle takes 1us without delay. I am interested in understanding what is going on..
Monday, 24 April 2017 - 17:33
Avr instruction timing
Already ran oh in the Simulator. Takes about 300cc for toggling a pin, as expected. I'm baffled as to the oscilloscope readings -150ms for pin toggle at 1Mhz. Perhaps I've...
Monday, 24 April 2017 - 17:16
Gyroscope for Tricopter
I need to read more! ;) Thank you for your help.
Friday, 21 September 2012 - 09:59
Gyroscope for Tricopter
You're right! - each arm is an axis in the model. I'll try and write the C code and make it public, I found the *.hex file at Sparkfun, loaded it into AvrStudio and got the...
Friday, 21 September 2012 - 09:39

Pages