PBP and 18F2550


Closed Thread
Results 1 to 17 of 17

Thread: PBP and 18F2550

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    51


    Did you find this post helpful? Yes | No

    Default Re: PBP and 18F2550

    Quote Originally Posted by Demon View Post
    I'd try this:

    DEFINE OSC 4

    Robert

    EDIT: This chip (like probably most PICs), has built-in oscillator. Any reason why you don't want to use that?

    And double-check the configuration fuses for the oscillator.

    Hi demon, I haven't had a chance to gt on the pc to try this yet but what would be the difference between using:

    DEFINE OSC 4

    And



    Code:
    @ __CONFIG _CONFIG1L, _PLLDIV_1_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
    @ __CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H



    Is the define a pbp level code and the config I'm guessing in asm level?


    I'm not looking at USB yet but I may well try it in future projects!

    I had a look at the data sheet before posting but got very confused and gave in to google which didn't help much either

    I think I may well look to moving to onboard especially if USB will drive off this too!

    Thanks again!
    Last edited by chrisshortys; - 13th January 2012 at 17:45.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: PBP and 18F2550

    I'm on cellphone, so sorry for short reply...

    Datasheet says USB requires external oscillator.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: PBP and 18F2550

    On the internal vs external OSC deal

    I got this from Bruce Reynolds

    If you have a board that will be subject to extreme heat, external will remain constant while internal may vary.

    My opinion is for the cost (minimal), space required on the board (minimal) and chances of solder joint(s) being bad (minimal) I always throw an external on the board.

Similar Threads

  1. 18F2550 timing
    By sstt1976 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 22nd August 2008, 00:30
  2. Error compiling 18f2550
    By sirvo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 13th May 2008, 23:22
  3. 18f2550 oscillator problems
    By rjones2102 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 28th September 2007, 03:57
  4. 18F2550 - config settings
    By malc-c in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 13th January 2007, 14:28
  5. ICD2 18F2550 MPASM7.50 - Aargh!
    By Giulio in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th November 2006, 17:01

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