This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: [PATCH]:add support for at91sam7x processor to work in different supported USART MODE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]