Quote Originally Posted by sayzer View Post
OSC is defined as 40Mhz, where is the config settings?
which pic is this?
A special PIC for motor control, it's the PIC18F4431, 10MHz quartz with PLL enabled (so 4*10=40MHz).