Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

UART baud rate at 6MHz

UART baud rate at 6MHz

2004-03-24 by Chetan Bhargava

Hi All,

I'm running AT90S2313 at 6MHz. I calculated the UBRR value to be 38 
for baud 9600. The actual baud would be 9615.38 would that be okay 
according to the RS232 standards?

Regards,

Chetan

RE: [AVR-Chat] UART baud rate at 6MHz

2004-03-24 by stevech

I'd say that's a small enough error to be tolerated by most chips. I think
2-3% error is fine.

By the way, RS232 is the standard for voltage levels only; it says nothing
about the bit timing.
Show quoted textHide quoted text
-----Original Message-----
From: Chetan Bhargava [mailto:list1@bhargavaz.com]
Sent: Tuesday, March 23, 2004 5:58 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] UART baud rate at 6MHz


Hi All,

I'm running AT90S2313 at 6MHz. I calculated the UBRR value to be 38
for baud 9600. The actual baud would be 9615.38 would that be okay
according to the RS232 standards?

Regards,

Chetan




Yahoo! Groups Links

Re: [AVR-Chat] UART baud rate at 6MHz

2004-03-24 by Wagner Lipnharski

Chetan Bhargava wrote:
> Hi All,
>
> I'm running AT90S2313 at 6MHz. I calculated the UBRR value to be 38
> for baud 9600. The actual baud would be 9615.38 would that be okay
> according to the RS232 standards?
>
> Regards,
>
> Chetan


It will work, except if the receiver speed goes further below 9600 bps.

In the past I made a text about the acceptable error offset, you can read it
at the end of http://www.ustr.net/8051pc/starting.shtml, search for "CLOCK
SPEED".


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.600 / Virus Database: 381 - Release Date: 2/29/2004

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.