This is the mail archive of the ecos-discuss@sources.redhat.com 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: I am so BAUD of this! (PXA26x HWUART)


On Thu, 2004-11-11 at 15:46, David Osborne wrote:
> Hi Gentle Folk,
> 
> Our HWUART on the PXA26x processor is being configured by eCos at
> startup to be 115200 bps.
> 
> After about 60 seconds our software needs to select a different baud
> rate (usually 9600 bps).  We effectively use the same function as eCos 
> serial_config_port(...) via the API to change the baud rate. The problem
> is that 50% of the time the baud rate doesn't change, but remains at
> 115200 bps. The DLL & DLH registers reflect our new baud rate settings,
> but physically it still transmits at the original baud rate.
> 
> I believe our use of the DLL, DLH, and ABR:ABUP registers are correct,
> and like I said, it works half the time. Could it be the HWUART can only
> be configured immediately after power up?  Can the HWUART be reset (not
> just the enable/disable register) by software?  So many questions, so
> few answers.  
> 
> If anyone could help end this misery, and release me from this
> bottomless hole, it would be very much appreciated.

More likely, the UART will not change baud rates unless it is totally
idle.  Try making sure that absolutely everything has been clocked out
before trying to change it.   

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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