Quote Originally Posted by Acetronics View Post
Hi, Bonxy

the Question is ...

Which freq do you want to run the CPU ??? ... here we just know you use a 20 Mhz external XTAL ...

BUT which is YOUR " CPUDIV_OSCx_PLLy _1L setting ???


note you can't run the CPU@ 20 Mhz ... using PLL and USB ( 16 or 24 Mhz only - PLL x4 or x6 ... ).
The ONLY available CPU freq are 48, 32, 24 and 16 Mhz, when using USB

20Mhz need using only HS oscillator ... no USB then !!!

Soooo ... nothing strange ...

Try 24 Mhz ... and do not forget the " DEFINE "...

Alain

Hi Alain

I am using (and want to use) 20mhz xtal and the usb is working fine at that speed (pll x5)

but serout will not work at that speed, but if i change speed to "define osc 12" serial works, (although it should not as osc is still 20mhz) & usb wont work.
So it seems its one or the other ?.