Re: USB on 18F27J53. Closer but still struggling with this.
Microchip do not specify a range for HS clock BUT one thing i'm sure... EC/ECPLL will not work, those mode are when you're using external clock module, not crystal
3.2.3 EXTERNAL CLOCK INPUT
The EC and ECPLL Oscillator modes require an
external clock source to be connected to the OSC1 pin.
There is no oscillator start-up time required after a
Power-on Reset (POR) or after an exit from Sleep
mode.
In the EC Oscillator mode, the oscillator frequency
divided by 4, is available on the OSC2 pin. In the
ECPLL Oscillator mode, the PLL output, divided by 4,
is available on the OSC2 pin. This signal may be used
for test purposes or to synchronize other logic.
Figure 3-3 displays the pin connections for the EC
Oscillator mode.
HS mode, CPUDIV set to 1:1, no PLL thing...and away you go.
If this is mounted on a solderless board... I would get rid of the ceramic capacitor around the crystal for testing purpose.
However, there's no advantage to use a 48MHz clock.
Last edited by mister_e; - 9th August 2011 at 09:49.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks