At 10:21 PM 3/17/05 +0000, johnsonnenberg99 wrote: >I'm seeing slightly different numbers. >Yesterday I put two lines of code in my C program. >Line 1 was IOSET0 = xxxx to set an IO pin. >Line 2 wss IOCLR0 = xxxx to clear the same pin., >This compiled to a total of 8 lines of assemble code using IAR. >When executed, the IO pin stayed high for 2 uS with a 24MHz clock. >This implies the 8 instruction took over 48 clock ticks. I was in >the THUMB mode, and I'll try it again in the ARM mode. I believe you are timing I/O speed not instruction speed. Take a search back through the history of the group. In particular there was some discussion on this in the first month or two of the groups existence. Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Message
Re: [lpc2000] Re: lpc2138 - how many osc clock x instruction?
2005-03-17 by Robert Adsett
Attachments
- No local attachments were found for this message.