This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Re: [PATCH]:add support for at91sam7x processor to work in different supported USART MODE
- From: Andrew Lunn <andrew at lunn dot ch>
- To: vibisreenivasan <vibi_sreenivasan at cms dot com>
- Cc: Andrew Lunn <andrew at lunn dot ch>, ecos-patches at ecos dot sourceware dot org
- Date: Mon, 30 Mar 2009 10:12:56 +0200
- Subject: Re: Re: [PATCH]:add support for at91sam7x processor to work in different supported USART MODE
- References: <1238400387.2203.21.camel@system>
On Mon, Mar 30, 2009 at 01:36:27PM +0530, vibisreenivasan wrote:
> >> AT91sam7x hardware supports different usart configurations like
> >> RS485,IrDA.
> >> Patch helps that to be set during compile time.
>
> > Hi I don't really see how this helps. How do you change the mode? I
> > don't see any current code which allows you to change this new mode
> > field. Also, how do you handle baud rate generation? The different
> > modes seem to calculate the baud rates using different formula. At
> > the moment, i don't think this patch is useful.
> > Andrew
>
> hi,
> thanks for looking into this code.
> We can set the MODE ONLY AT COMPILE TIME.
How?
> And i really missed the baud rate generation part.
A lot depends on which mode you are using. Some modes do use the same
baud as normal USART. Some not.
> Can I add that & resubmit this again , will it be helpful?
It is too early to say. Keep working on it and if it does become
useful then yes. However, at the moment it is not useful.
Andrew