all atmels use U2x, it is a part of calculus of the baudrate... Yes we
can adapt, of course..Pito
----- PŮVODNÍ ZPRÁVA -----
Od: "Matthias Trute" <mt...@we...>
Komu: "Everything around amforth" <amf...@li...>
Předmět: Re: [Amforth-devel] USART.asm driver - U2X and baud error
Datum: 8.7.2010 - 12:22:03
> Hi Pito,
>
> > I see in usart.asm driver you are not considering
> > U2X (which may improve
> > > baudrate precision for certain combinations). Also
> > error is set to +/-
> > > 1% max. So when compiling one gets "systematic baud
> > errors .." even
> > > when the combination may work properly. It is not
> > so important and probaly
> > > your intention, however I did some experiments with
> > baudrates and Xtals
> > > and I saw that message even I know that a combination
> > is correct.
> >
> I picked up the settings based upon readings I found
> in various sites of
> teh internet and they work most of the time well. The
> error range is
> based upon the same basis. remember that amforth runs
> on a wide variety
> of controllers with different usart module versions.
> feel free to adapt
> the code to whatever suits you, it's easy.
>
> Matthias
>
|