Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | UART0 vs UART1

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

UART0 vs UART1 - dimaissaev - Feb 25 4:52:00 2005


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.





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: UART0 vs UART1 - Srinivasa Reddy Mannem - Feb 25 5:49:00 2005

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 <> 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 __________________________________________________
">http://mail.yahoo.com

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




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: UART0 vs UART1 - Robert Adsett - Feb 25 10:16:00 2005

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




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: UART0 vs UART1 - peterburdine - Feb 25 16:46:00 2005


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 , "dimaissaev" <dimaissaev@y...> 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.





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: UART0 vs UART1 - dimaissaev - Feb 25 19:35:00 2005


--- In , 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.





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Re: UART0 vs UART1 - Robert Adsett - Feb 27 1:03:00 2005

At 11:35 PM 2/25/05 +0000, dimaissaev wrote:
>--- In , 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




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )