18F4550 config


Closed Thread
Results 1 to 10 of 10

Thread: 18F4550 config

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: 18F4550 config

    Yes, you can use HS. If you have pbp 3.x, you can check by looking in the pbp3 directory, under the device reference file.

    For the 4550 osc configs, you will find these options:
    Code:
    ;  Oscillator Selection bits
    ;    CONFIG FOSC = HSPLL_HS	    ;HS oscillator, PLL enabled (HSPLL)
    ;    CONFIG FOSC = HS	    ;HS oscillator (HS)
    ;    CONFIG FOSC = INTOSC_HS	    ;Internal oscillator, HS oscillator used by USB (INTHS)
    ;    CONFIG FOSC = INTOSC_XT	    ;Internal oscillator, XT used by USB (INTXT)
    ;    CONFIG FOSC = INTOSC_EC	    ;Internal oscillator, CLKO function on RA6, EC used by USB (INTCKO)
    ;    CONFIG FOSC = INTOSCIO_EC	    ;Internal oscillator, port function on RA6, EC used by USB (INTIO)
    ;    CONFIG FOSC = ECPLL_EC	    ;EC oscillator, PLL enabled, CLKO function on RA6 (ECPLL)
    ;    CONFIG FOSC = ECPLLIO_EC	    ;EC oscillator, PLL enabled, port function on RA6 (ECPIO)
    ;    CONFIG FOSC = EC_EC	    ;EC oscillator, CLKO function on RA6 (EC)
    ;    CONFIG FOSC = ECIO_EC	    ;EC oscillator, port function on RA6 (ECIO)
    ;    CONFIG FOSC = XTPLL_XT	    ;XT oscillator, PLL enabled (XTPLL)
    ;    CONFIG FOSC = XT_XT	    ;XT oscillator (XT)
    http://www.scalerobotics.com

  2. #2
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default Re: 18F4550 config

    I'm stuck in time with PBP 2.50B. One of the programs I use will not work with a higher version unless I upgrade and I can't right now. Anyhow, I put this in my include file:

    __CONFIG _CONFIG1H, _FOSC_HS

    but it still doesn't work. If I can't put it in my include file, can I type anything into my program that would make it work? I'm used to using @device for 16F parts but I'm sure you already know it doesn't work with 18F parts.

Members who have read this thread : 1

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