avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] UART transmitting problem


From: Richard Urwin
Subject: Re: [avr-gcc-list] UART transmitting problem
Date: Wed, 3 Dec 2003 07:44:37 +0000
User-agent: KMail/1.5

On Wednesday 03 Dec 2003 12:48 am, Laurence Anderson wrote:
> > First, make your transmission continuous.  You program (assuming it
> > works) sends out a string, then halts in a tight loop.  Why not keep
> > sending in a tight loop, so that you don't have to keep restarting the
> > program?
>
> I'm now using the picoweb code by Rune that works (adjusted UBRR to 25, and
> loops to keep sending the message). I installed Terra Term Pro, and I see
> random characters (but the correct number of them), however if I fiddle
> with the settings to 7-bit data, I see the correct data! Then changing back
> to 8 it sometimes continues to work. Very weird.

Insert a small delay between repeats. Serial data is, after all just a series 
of bits, there is not much sychronisation that can be done on a fully 
utilised channel. ie it is very easy for the receiver to get it wrong.

-- 
Richard Urwin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]