How to calc max debug rate?


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156

    Default How to calc max debug rate?

    I'd like to know how to determine the maximum DEBUG baudrate using a PIC18F2420 running on an INTERNAL 8 MHz oscillator? Can someone help me out here?

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    You can run debug at 38400 using 8 mhz, but I don't know the calculation.

    Walter
    http://www.scalerobotics.com

  3. #3
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    I was hoping for 57600, but knew it would be close. I never know until I try, but can't do that until tomorrow. I just dont have the space on this board for an external xtal/osc.

  4. #4
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Turn on the PLL to get a 32MHz clock?

  5. #5
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    I've been reading that the clock frequency is not as stable and may need to be tuned over time. In this application, it's going to be pretty inaccessable and I need to be able to trust that the serial port will work reliably over time, so I've pretty much decided against the PLL.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I've been reading that the clock frequency is not as stable and may need to be tuned over time.
    You are using the internal already, so PLLing will not change that.
    Dave
    Always wear safety glasses while programming.

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