USB on 18F27J53. Closer but still struggling with this.


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: USB on 18F27J53. Closer but still struggling with this.

    According to table 3-5 (page 41) of the data sheet, with a 48 mhz crystal, only EC or ECPLL can be used.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: USB on 18F27J53. Closer but still struggling with this.

    I saw that, but then I looked at table 3-1 and figured HS would be the way to go...
    Maybe it will not work with a 48 MHz crystal?
    I am confused again
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default 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.

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts