Highest Baud


Closed Thread
Results 1 to 8 of 8

Thread: Highest Baud

  1. #1
    Santana's Avatar
    Santana Guest

    Default Highest Baud

    Hello people
    Does anyone know the highest Baud rate i can get with a
    20mhz Xtal and 18F452 ?
    the highest i can get using windows xp is 115200
    i am using Max232


    ' Setup Hardware for uart
    DEFINE HSER_BAUD 115200
    DEFINE HSER_RCSTA 90h
    DEFINE HSER_TXSTA 24h
    DEFINE HSER_CLROERR 1

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Synchronous... Datasheet... Table 16-3... 5Mb...

    Asynchronous... Datasheet... Table 16-4... 312.5kb...

  3. #3
    Santana's Avatar
    Santana Guest


    Did you find this post helpful? Yes | No

    Default

    So thats clear would the problem be from my pc end then?

  4. #4
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    20Mhz isn't the greatest xtal frequency to produce high baud rates compatible with your PC without error... see item 3 from my reply on this thread...

    http://www.picbasic.co.uk/forum/show...=&threadid=563

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


    Did you find this post helpful? Yes | No

    Default

    I always use DEFINE HSER_SPBRG instead of DEFINE HSER_BAUD. In some case, it appear to be more efficient

    be sure of your DEFINE HSER_RCSTA and DEFINE HSER_TXSTA setting too.


    regards
    Last edited by mister_e; - 25th October 2004 at 04:53.
    Steve

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

  6. #6
    Santana's Avatar
    Santana Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks Mel
    i have taken your advice on board and i have ordered a 22mhz
    xtal.
    but i think my problem is with my PC End
    When i select any baud rate greater than 115200. i get a reply
    from hyperthem that com1 not found

  7. #7
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    It is possible that Hyperterminal interrogates your PC's USART... I have XP-Pro SP2 on two four-month old 3.2Ghz desktop machines and a year old 2GHz Laptop... neither desktop lets me set a value higher than 115kb (the highest displayed), yet on the laptop, it permits setting right up to 920kb.

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


    Did you find this post helpful? Yes | No

    Default

    Hi!

    Some useful links...


    Regards

    Luciano


    * * * * * * *

    Terminal program:
    (No setup, only one EXE file).

    Terminal v1.9b 20040714.
    http://bray.velenje.cx/avr/terminal/
    (See custom baudrate).

    * * * * * * *

    Does your PC need a high-speed serial port?
    Take a look at:

    http://www.comtrol.com

    (RocketPort Plus PCI 2-port 98701-7)

    RocketPort® Multiport Serial Controller Cards

    The RocketPort's fully integrated, ASIC controller has superior throughput performance, reliability, and CPU utilization, making this price/performance leader ideal for data acquisition applications. Highlights include:

    Optimum throughput performance up to 921 Kbps transmit and receive across all ports simultaneously.

    Supports PCI 32- and 64-bit, 3.3 Volt, 5.0 Volt, PCI-X, CompactPCI slots and ISA bus architectures, ensuring compatibility regardless of the host environment.

    Quick, easy installation using no interrupts or memory-mapping, freeing limited resources to support other hardware components/peripherals.

    * * * * * * *

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. PIC 18f1220 EUSART Baud Rate Cache Problem
    By wklose99 in forum Off Topic
    Replies: 3
    Last Post: - 15th April 2008, 00:39
  3. Auto Baud Rate Detection
    By mytekcontrols in forum Serial
    Replies: 10
    Last Post: - 31st October 2005, 02:17
  4. PIC12F675, accuracy of baud rate with Internal Oscillator
    By Chris Mayhew in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st August 2005, 22:41
  5. Baud Rate and Timing Calculator
    By picnaut in forum General
    Replies: 3
    Last Post: - 23rd January 2004, 16:48

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