Quote Originally Posted by Demon View Post
Just curious, why not use internal osc on 18F PIC?

I do it all the time, works great even up to 64MHz on 18F4xK22 series

Robert

Hi Robert thank you for reply.

This is my first time using 18F series and choose this because only 28-pin dip and need work with two EUSART at high baud rates at the same time. Reading the datasheet sections 2.73 & 2.73.1 related to frequency drift and compensating with EUSART changes on OSCCON TUN<5:0> for adjust the clock frequency may be required.

I like to know how OSCCON TUN work and and how to get 20Mhz clock.


Regards


Alex