USART SPBRG Calculator software


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default USART SPBRG Calculator software

    Hi all,
    i did a little utility for those who want to get the right SPBRG value in a snap. It also allow you to increase/decrease the value to get the best error percentage. Any comments are welcome.

    Have fun!
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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


    Did you find this post helpful? Yes | No

    Default

    mister e, It doesn't work very good..... Try 4433619 for oscillator freq & 9600 for baud, in low baud mode.

    Dave Purola,
    N8NTA

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Thank you for this tool!
    See JPG attachment for my comments.

    Luciano
    Attached Images Attached Images  
    Last edited by Luciano; - 6th June 2005 at 13:23.

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


    Did you find this post helpful? Yes | No

    Default

    I beleive the frequency should be entered in hertz, not megahertz and the baudrate should be displayed with 1 baud resolution not kilobaud.

    Dave Purola,
    N8NTA

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Here's the new version.

    Quote Originally Posted by Dave
    the baudrate should be displayed with 1 baud resolution not kilobaud.
    It is !
    Attached Files Attached Files
    Last edited by mister_e; - 7th June 2005 at 10:59.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Aug 2005
    Location
    Michigan, USA
    Posts
    224


    Did you find this post helpful? Yes | No

    Default

    Mister_e,

    A very nice applet Sir... May I ask if you have a newer version which supports both 8-bit SPBRG solutions and the newer 16-bit SPBRG solutions?

    I created an Excel 2000 SPBRG Calculator spreadsheet, available on the Microchip Forums (forum.microchip.com/tm.asp?m=76411), which produces both 8-bit and 16-bit SPBRG solutions but a stand-alone applet like yours would be much better and a lot more convenient...

    Thank you again for making your SPBRG Calculator available...

    Regards, Mike

Similar Threads

  1. byte Tx w/ USART 16f876a problem
    By GargamelDigi in forum mel PIC BASIC
    Replies: 2
    Last Post: - 15th July 2008, 05:50
  2. problem with USART
    By leemin in forum Serial
    Replies: 4
    Last Post: - 11th December 2006, 17:56
  3. I ammm Looosssst (USART Help)
    By shawn in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th May 2006, 05:05
  4. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07
  5. Replies: 5
    Last Post: - 1st December 2004, 12:49

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