??? 12/14/07 18:26 Read: times |
#148242 - Obviously will be less than the crystal frequency! Responding to: ???'s previous message |
Shehryar Shaukat said:
i wrote a simple program that continuously complemented a bit value and then checked that pin/bit for frequency. and that came upto 12Mhz approximate. Obviously the frequency at which a program - no matter how simple - can toggle a pin will be less than the oscillator frequency! How many instructions does your "simple" program use for each toggle of the pin? How many clock cycles do those instructions take? |