P1c18f26k20-internal clock set up fail -64mhz


Closed Thread
Results 1 to 17 of 17

Hybrid View

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


    Did you find this post helpful? Yes | No

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

    when attaching portb to the 74hc595 - then 1 of the port pin lost power.
    I'm not really sure what this means , its rather ambiguous
    perhaps a schematic diagram (or a photo) of your setup would be in order

  2. #2
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

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

    HI,,
    thANKS A LOT RICHARD,

    I MOVE TO USE 18F4620, THE PREVIOUS CONF. IS FINE (internal osc*4 = 32 mhz)
    the program runs well @40mhz (external osc) then there are problems
    i.e. data output randomly- (due to dirty breadboard)
    line appears on the screen (same cause above).
    i will going back to see the 18f26k20.next week.

    thanks again
    regards

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170


    Did you find this post helpful? Yes | No

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

    As requested by others, post your complete code and a schematic of your circuit.

    Have you disabled analog features on any pins you use as digital?

    Robert

  4. #4
    Join Date
    Apr 2008
    Posts
    85


    Did you find this post helpful? Yes | No

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

    HI ALL
    THANKS for all
    the program actually runs well, but the pause time is not correct and the current supply is not adequate ( due to dirty breadboar...)

    at high frequency, some of the port pins is measured = 0, (when the port drives other ic) look like there is no power at all.
    the set up is right:

    _FOSC_INTIO67_1H
    OSCTUNE = $40
    OSCCON = $70

    the PBADEN = OFF, so the portb is digital I/O
    thanks a gain for all

    regards

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