18F4580 settings


Results 1 to 16 of 16

Threaded View

  1. #8
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Bruce,

    Thanks for the reply. I've managed to port Mel's RTC code from the 16F877A to the 18F4580, however I have one config setting that I can't work out

    If I set the config bits in the programmer thus



    The code runs. However if I let the code set the config bits it fails to run correctly. It seems I need to set the Oscillator to HS-PPL in order for it to run at the correct speed. Could you advise me what I need to add to the code to set this correctly ?

    Edit:

    Forgot to mention I've tried
    Code:
    __CONFIG    _CONFIG1H, _FOSC_HSPLL_HS_1H
    and get the "symbol not previously defined" error, even though I've edited the PBP INC file.
    Attached Images Attached Images  
    Last edited by malc-c; - 27th March 2010 at 12:36.

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