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: vibisreenivasan <vibi_sreenivasan at cms dot com>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 30 Mar 2009 14:06:24 +0530
- Subject: Re: Re: [PATCH]:add support for at91sam7x processor to work in different supported USART MODE
- References: <1238400387.2203.21.camel@system> <20090330081256.GJ17160@lunn.ch>
- Reply-to: vibi_sreenivasan at cms dot com
On Mon, 2009-03-30 at 10:12 +0200, Andrew Lunn wrote:
> 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?
I am using the 485 mode by changing in the source code directly.
But planning to put it as a cdl option.
>
> > 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
>
THANKS FOR THE FEED BACK
Thanks & regards
vibi
>