Yahoo Groups archive

AVR-Chat

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

Message

Re: Simple UART Code

2004-10-08 by upand_at_them

> Well, you can't shove chars in faster than they go out..

Obviously.

But I noticed the two stage pipeline.  and if you wait until 
something comes out the end of the pipe before you put anything in it 
cuts the speed down.  I just didn't know the lag between data 
register and transmit register.  If it's just a clock cycle or two, 
then you're right, it won't matter.

MK

--- In AVR-Chat@yahoogroups.com, Dave VanHorn <dvanhorn@d...> wrote:
> At 11:56 AM 10/8/2004, upand_at_them wrote:
> 
> 
> 
> >For transmit, does checking TXC instead of UDRE limit the max 
> >transmit speed? 
> 
> Well, you can't shove chars in faster than they go out..
> 
> > And what is the lag between writing to UDR and it 
> >getting put into the transmit shift register?
> 
> Essentially zero.
> I've never measured it, but it's not much.

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.