PDA

View Full Version : 2Mhz oscillator not allowed?



astouffer
- 2nd December 2015, 18:39
Like the subject says, does PBP3 not allow for 2Mhz oscillator speeds? I found one post from 2006 claiming this. I have a 16F722A set for 2Mhz but trying to compile anything gives this error
Error[101] C:\PBP3\PBPPIC14.LIB 104 : ERROR: (Invalid OSC Define.)
Error[113] C:\PBP3\PBPPIC14.LIB 6350 : Symbol not previously defined (PAUSEUSL)

HenrikOlsson
- 2nd December 2015, 19:10
I'll just quote the manual:

There are a limited number of valid numbers that can be used: 3 (3.58MHz), 4, 8, 10, 12, 16, 20, 24, 25, 32, 33, 40, 48, 64. These are the only frequencies for which PBP is able to accurately calibrate its timing. If you use a system clock that runs at a frequency that isn't listed here, your timing will be scaled when the program executes.

That's pretty clear to me.

/Henrik.