18F4550 config


Closed Thread
Results 1 to 10 of 10

Thread: 18F4550 config

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: 18F4550 config

    I'm no expert, but from a quick google I found these settings for use with a 20mhz crystal from the datasheet with a 48mhz USB timing

    Code:
    ASM 
     __CONFIG    _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
     __CONFIG    _CONFIG1H, _FOSC_HS_1H
     __CONFIG    _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H
     __CONFIG    _CONFIG3H, _PBADEN_OFF_3H
     __CONFIG    _CONFIG4L, _LVP_OFF_4L & _ICPRT_OFF_4L & _XINST_OFF_4L
    ENDASM

  2. #2
    Join Date
    Nov 2014
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: 18F4550 config

    Hello Scampy,

    Thank you very much in advance for participating and answer,

    As we see the result of your Google searching is as same as my text, isn't it?

    Quote Originally Posted by Scampy View Post
    from a quick google I found these settings for use with a 20mhz crystal from the datasheet with a 48mhz USB timing

    Code:
    ASM 
     __CONFIG    _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
     __CONFIG    _CONFIG1H, _FOSC_HS_1H
    If our suggestions be right, perhaps the wrong point would be on some where else.

    I still need HELP!

    Regards,

    Andy

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