Hserout sends wrong values


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,680


    Did you find this post helpful? Yes | No

    Default Re: Hserout sends wrong values

    xtal used is ?
    Warning I'm not a teacher

  2. #2
    Join Date
    May 2016
    Posts
    33


    Did you find this post helpful? Yes | No

    Default Re: Hserout sends wrong values

    Quote Originally Posted by richard View Post
    xtal used is ?
    It's a 24 mhz xtal.

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,680


    Did you find this post helpful? Yes | No

    Default Re: Hserout sends wrong values

    the default config is for a 20mhz xtal which gives a fosc of 48mhz

    to use a 24 MHz xtal change plldiv to 6 for a 48mhz fosc or turn the pll off .
    24 mhz into the pll @ plldiv5 is out of device specs.
    with pll off and cpudiv=1 fosc=24mhz fo a 24mhz xtal.
    Warning I'm not a teacher

Similar Threads

  1. Why does this PBP statement post the wrong time values?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2011, 03:10
  2. Replies: 7
    Last Post: - 22nd February 2011, 20:20
  3. WRITECODE stores wrong 14-bit word values in FlashMEM
    By BobPigford in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 26th June 2009, 04:35
  4. PIC16F877 sends/receives data to/from a PC
    By ovidiu in forum Serial
    Replies: 1
    Last Post: - 2nd December 2006, 14:09
  5. Wrong values with COSINE!
    By Eng4444 in forum mel PIC BASIC Pro
    Replies: 24
    Last Post: - 8th May 2006, 16:59

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