18F252 config


Closed Thread
Results 1 to 6 of 6

Thread: 18F252 config

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Venezuela - Caracas
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    The real problem is i need that my 18f252 work with internal oscilator and 32mhz,
    in pic18d2520 i use config above and work 100%

    asm
    __CONFIG _CONFIG1H, _OSC_INTIO7_1H & _IESO_OFF_1H
    ...

    and

    DEFINE OSC 32

    OSCCON = %11110000 ' 8 Mhz, internal osc
    OSCTUNE = %11000000 ' 4x PLL enabled

    i need help for corret config in 18F252
    ..: Don't worry, be happy :..

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Charles Linquist

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


    Did you find this post helpful? Yes | No

    Default

    This is cut & paste directly from the 18F252 data sheet:

    2.1 Oscillator Types

    The PIC18FXX2 can be operated in eight different Oscillator modes. The user can program
    three configuration bits (FOSC2, FOSC1, and FOSC0) to select one of these eight modes:

    1. LP Low Power Crystal
    2. XT Crystal/Resonator
    3. HS High Speed Crystal/Resonator
    4. HS + PLL High Speed Crystal/Resonator with PLL enabled
    5. RC External Resistor/Capacitor
    6. RCIO External Resistor/Capacitor with I/O pin enabled
    7. EC External Clock
    8. ECIO External Clock with I/O pin enabled

    Note there is no internal oscillator option for the 252. Oops...;o}
    Regards,

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

  4. #4
    Join Date
    Sep 2006
    Location
    Venezuela - Caracas
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    thaks all for help.......realy 452 not have internal oscilator.......vendor sad 252 = 2520
    arggggggggg.....i'm a donkey....i not read pdf
    ..: Don't worry, be happy :..

Similar Threads

  1. A/D conversion with PIC18F67J50
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th May 2009, 02:48
  2. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd November 2008, 00:51
  3. Error 0X0000008E when connecting a 18F2550 USB HID
    By FranciscoMartin in forum USB
    Replies: 8
    Last Post: - 16th October 2008, 18:20
  4. PortE problems (PIC18F4455)
    By RubenR in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 12th July 2006, 16:26
  5. Installation sequence
    By Demon in forum General
    Replies: 23
    Last Post: - 11th July 2006, 04:56

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