How to calc max debug rate?


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    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

  2. #2
    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.

  3. #3
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Turn on the PLL to get a 32MHz clock?

  4. #4
    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.

  5. #5
    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.

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


    Did you find this post helpful? Yes | No

    Default

    I see now that you are right! I remembered that, but thought that it was PLL related NOT the entire internal osc block. The memory is the second thing to go. Guess I'll do some temperature tests this week.
    Last edited by circuitpro; - 27th September 2010 at 07:27.

  7. #7
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

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

    Walter

    What calculation? It's just:

    OSC 8
    DEFINE DEBUG_BAUD 38400

    Dave Purola,
    N8NTA

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