Microchip PIC microcontroller interrupt timing interval chart.
Download Excel 95 file here.
<-Back to INDEX
Notes:
Change the Crystal value to match your crystal clock speed.
PSA = 0 is for External crystal OSC
PSA = 1 is for Internal WDT OSC
PSA |
PS2 |
PS1 |
PS0 |
Prescale |
Crystal |
Interrupt Interval |
Interrupt Interval |
(in seconds) |
(in cycles) |
||||||
0 |
0 |
0 |
0 |
2 |
4000000 |
0.000512 |
512 |
0 |
0 |
0 |
1 |
4 |
4000000 |
0.001024 |
1024 |
0 |
0 |
1 |
0 |
8 |
4000000 |
0.002048 |
2048 |
0 |
0 |
1 |
1 |
16 |
4000000 |
0.004096 |
4096 |
0 |
1 |
0 |
0 |
32 |
4000000 |
0.008192 |
8192 |
0 |
1 |
0 |
1 |
64 |
4000000 |
0.016384 |
16384 |
0 |
1 |
1 |
0 |
128 |
4000000 |
0.032768 |
32768 |
0 |
1 |
1 |
1 |
256 |
4000000 |
0.065536 |
65536 |
1 |
0 |
0 |
0 |
1 |
4000000 |
0.000256 |
256 |
1 |
0 |
0 |
1 |
2 |
4000000 |
0.000512 |
512 |
1 |
0 |
1 |
0 |
4 |
4000000 |
0.001024 |
1024 |
1 |
0 |
1 |
1 |
8 |
4000000 |
0.002048 |
2048 |
1 |
1 |
0 |
0 |
16 |
4000000 |
0.004096 |
4096 |
1 |
1 |
0 |
1 |
32 |
4000000 |
0.008192 |
8192 |
1 |
1 |
1 |
0 |
64 |
4000000 |
0.016384 |
16384 |
1 |
1 |
1 |
1 |
128 |
4000000 |
0.032768 |
32768 |
Copyright 2002, Cliff Griffin