| ??? 11/03/00 13:49 Read: times |
#6178 - RE: How to Generate 3 MHz Clock Signal? |
I forgot to add that with a 12 Mhz crystal the processor can do approximately 1 million instructions per second; that is using the average of 2 clock cycles per second. The math of crystal speed in MHz / 12 = the approximate instructions per second that are executed.
You are running 11.0592 which is ~= .966 instructions per second. So therefore you're highest clock output using a port bit would be in the kilohertz range. Figuring: clockit: cpl p1.0 sjmp clockit ~= 4 clock cycles per loop = ~= 483 kHz Others: if this is wrong please correct. Thanks and hope this helps, John |
| Topic | Author | Date |
| How to Generate 3 MHz Clock Signal? | 01/01/70 00:00 | |
| RE: How to Generate 3 MHz Clock Signal? | 01/01/70 00:00 | |
| RE: How to Generate 3 MHz Clock Signal? | 01/01/70 00:00 | |
| RE: How to Generate 3 MHz Clock Signal? | 01/01/70 00:00 | |
| RE: How to Generate 3 MHz Clock Signal? | 01/01/70 00:00 | |
| RE: How to Generate 3 MHz Clock Signal? | 01/01/70 00:00 | |
| RE: How to Generate 3 MHz Clock Signal? | 01/01/70 00:00 | |
RE: How to Generate 3 MHz Clock Signal? | 01/01/70 00:00 |



