View Full Version : Highest Baud
Santana
- 24th October 2004, 20:48
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
Melanie
- 24th October 2004, 21:17
Synchronous... Datasheet... Table 16-3... 5Mb...
Asynchronous... Datasheet... Table 16-4... 312.5kb...
Santana
- 24th October 2004, 22:06
So thats clear would the problem be from my pc end then?
Melanie
- 25th October 2004, 02:43
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/showthread.php?s=&threadid=563
mister_e
- 25th October 2004, 04:51
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
Santana
- 25th October 2004, 18:21
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
Melanie
- 25th October 2004, 22:06
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.
Luciano
- 29th October 2004, 10:03
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.
* * * * * * *
Powered by vBulletin® Version 4.1.7 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.