Dear Barry,
I have gone through Oscillator module page. As per my understanding to select internal oscillator we must use OSCCON register.
I want to setup a 4MHZ internal Oscillator frequency,
OSCCON = 0x65; // is that the correct way of selecting internal oscillator.
Is this enough OR should I add INTOSC register also.
- - - Updated - - -
Dear Barry,
I have gone through the datasheet and found that in order to select internal oscillator we should configure OSCCON register, I need to Set 4 Mhz Internal oscillator frequency, As per my calculation it comes,
OSCCON = 0x65; //Is that right way to select or Should I add some more register.
Please comment.
Thanks.