Crazy oscillator


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2008
    Location
    sao paulo - brasil
    Posts
    23

    Default Crazy oscillator

    Dear friends,

    I am using a 18f4620 now with these configurations:

    __CONFIG _CONFIG1H, _OSC_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H & _PWRT_ON_2L & _BOREN_ON_2L &_BORV_2_2L
    __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
    __CONFIG _CONFIG3H, _CCP2MX_PORTC_3H & _PBADEN_ON_3H & _LPT1OSC_ON_3H & _MCLRE_OFF_3H
    __CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _XINST_OFF_4L

    when I begin the program I define the oscillator for 20mhz
    defines osc 20

    plus he only works in 4mhz, when I place the resonador of 20 he is crazy,
    where am I wrong?

    in advance thankful,
    vicente

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default Re: Crazy oscillator

    Change osc to OSC.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Nov 2008
    Location
    sao paulo - brasil
    Posts
    23


    Did you find this post helpful? Yes | No

    Default Re: Crazy oscillator

    thank you very much Bruce,

    now it works.

    the case sensitive it was linked.

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