P1c18f26k20-internal clock set up fail -64mhz


Results 1 to 17 of 17

Threaded View

  1. #9
    Join Date
    May 2013
    Location
    australia
    Posts
    2,631


    Did you find this post helpful? Yes | No

    Default Re: P1c18f26k20-internal clock set up fail -64mhz

    minhle
    quite a lot here seems to be lost in the translation somehow

    the output @portb.6 fail (no power)-and data out from other pins runs fast
    what does this mean ?

    the conf. remains unchanged

    __CONFIG _CONFIG1H, _FOSC_HSPLL_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
    __CONFIG _CONFIG2H, _WDTEN_ON_2H & _WDTPS_512_2H
    __CONFIG _CONFIG3H, _CCP2MX_PORTC_3H & _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _HFOFST_ON_3H & _MCLRE_ON_3H
    __CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _XINST_OFF_4L & _DEBUG_OFF_4L
    have you now changed to using an external xtal ?

    i move to drive 595 then there r problem- lost power or low speed @ out put
    what is a 595 ? do you mean a 74hc595 ?
    if so a "595" can clock in data @100mhz which will be at least 10x greater than a bit banged routine could achieve even at 64mhz clock


    can I suggest you just try to "blink a led" on say portb.6 and see if it blinks at the correct rate , if not then post your complete code for further evaluation
    Last edited by richard; - 29th July 2014 at 03:43. Reason: typo

Similar Threads

  1. 18F26K22 - Unable to get 64MHz Internal clock speed
    By Balachandar in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th July 2014, 16:53
  2. How to set the internal CPU speed?
    By Ramius in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 26th April 2011, 20:04
  3. UberNewbie can't set his clock...
    By Byte_Butcher in forum General
    Replies: 19
    Last Post: - 7th January 2009, 04:22
  4. external clock / internal clock
    By grounded in forum General
    Replies: 4
    Last Post: - 31st May 2008, 17:44
  5. How to set internal oscillator on 16F88
    By newgeppetto in forum Off Topic
    Replies: 0
    Last Post: - 3rd December 2005, 09:28

Members who have read this thread : 0

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

Posting Permissions

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