For the UART and usual baudrates, this lag is unimportant but I would like having a hardware buffer for the SPI unit, and have additional flag indicating byte move buffer to transmit shift register. Motorola implements such feature in its micros. Murat Karadeniz http://www7.brinkster.com/mukas/ --- upand_at_them <upand_at_them@yahoo.com> wrote: > > > 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. > > > > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail
Message
Re: [AVR-Chat] Re: Simple UART Code
2004-10-10 by MuRaT KaRaDeNiZ
Attachments
- No local attachments were found for this message.