Yahoo Groups archive

AVR-Chat

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

Message

Re: comms problem

2008-04-06 by Brian

--- In AVR-Chat@yahoogroups.com, "David VanHorn" <microbrix@...> wrote:
>
> The internal oscillator isn't guaranteed to be accurate enough for 
serial.
> It works, but it may not always work. If the baud rate is wrong,
> you'll get odd translations.
>
Whoo hoo I figured it out (after about 30 hours of trial and error).

The mega16 has 3 buffer levels not 2 (I read this about a dozen times 
in the data sheet but didnt think anything about it). So when figuring 
out baud rate for UBRR you have to use 24 in the calculation not 16.

I kinda understand this but if anybody has more information to clear it 
up would be great.

Thanks,
Brian

Attachments

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.