Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

UART0 vs UART1

UART0 vs UART1

2005-02-25 by dimaissaev

Hi all. 

Could anyone explane me what different between UART1 and UART0 (except 
modem control register in UART1).

I can't understant NOTHING!
Two equal initialization. Equal ISR but when I try to work with UART1, 
system hand-up. UART0 working absolutely normal. Exactly like in PDF, 
without ANY problem.

Re: [lpc2000] UART0 vs UART1

2005-02-25 by Srinivasa Reddy Mannem

Hi,
 
Could you please send me the code for UART0.
 
Here i am facing some problem with UART0.
 
I am unable to send any charector to Hyper Terminal..
 
Thanks in advance.
 
-Srinivas.

dimaissaev <dimaissaev@...> wrote:

Hi all. 

Could anyone explane me what different between UART1 and UART0 (except 
modem control register in UART1).

I can't understant NOTHING!
Two equal initialization. Equal ISR but when I try to work with UART1, 
system hand-up. UART0 working absolutely normal. Exactly like in PDF, 
without ANY problem.




Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
   To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]

Re: [lpc2000] UART0 vs UART1

2005-02-25 by Robert Adsett

At 01:49 AM 2/25/05 -0800, Srinivasa Reddy Mannem wrote:
>Could you please send me the code for UART0.

There are examples in the files download area.  The newlib-lpc library ( 
http://www.aeolusdevelopment.com ) has drivers for both UARTS both polled 
and interrupt driven.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Re: UART0 vs UART1

2005-02-25 by peterburdine

I've been having a terrible time with getting the interrupts working
on the LPC2294 using the Keils tools.  The code being created seems
fine, but if I try and enable the interrupts, sometimes it will work,
sometimes they are ignored and sometimes the processor just locks up.
 I generally have to spend an hour or so trying to figure out what
order to initilize things in before they work.

--- In lpc2000@yahoogroups.com, "dimaissaev" <dimaissaev@y...> wrote:
Show quoted textHide quoted text
> 
> Hi all. 
> 
> Could anyone explane me what different between UART1 and UART0 (except 
> modem control register in UART1).
> 
> I can't understant NOTHING!
> Two equal initialization. Equal ISR but when I try to work with UART1, 
> system hand-up. UART0 working absolutely normal. Exactly like in PDF, 
> without ANY problem.

Re: UART0 vs UART1

2005-02-25 by dimaissaev

--- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...> 
wrote:
> At 01:49 AM 2/25/05 -0800, Srinivasa Reddy Mannem wrote:
> >Could you please send me the code for UART0.
> 
> There are examples in the files download area.  The newlib-lpc 
library ( 
> http://www.aeolusdevelopment.com ) has drivers for both UARTS both 
polled 
> and interrupt driven.

I can't use this interrupt by many reason. The main is Ineed a nested 
interrupts. 

And I think that I have a problem with them.

Re: [lpc2000] Re: UART0 vs UART1

2005-02-27 by Robert Adsett

At 11:35 PM 2/25/05 +0000, dimaissaev wrote:
>--- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...>
>wrote:
> > At 01:49 AM 2/25/05 -0800, Srinivasa Reddy Mannem wrote:
> > >Could you please send me the code for UART0.
> >
> > There are examples in the files download area.  The newlib-lpc
>library (
> > http://www.aeolusdevelopment.com ) has drivers for both UARTS both
>polled
> > and interrupt driven.
>
>I can't use this interrupt by many reason. The main is Ineed a nested
>interrupts.

They would still be a way to verify your own approach didn't leave anything 
out though.


>And I think that I have a problem with them.

Which raises two questions
   Have you verified that you have working non-nested interrupts?  Always 
get the simpler case to work first.
   Are you absolutely certain you need nested interrupts?

I strongly suspect that nested interrupts will require an assembly language 
shim.  I would advise using such a shim even for standard interrupts but 
not everyone shares my paranoia on that :)

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.