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

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | Help need : I need more than 2 UARTs

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Help need : I need more than 2 UARTs - Christophe - Sep 30 22:43:43 2006

Hello,

I'am trying to set up an application with an Xbee module and an
graphical display, both with an serial interface. As far as I
understand, there are only 2 uarts on my LPC2138 board. I would like
to keep UART 0 for programing and communication with the module, so I
need one more uart. What is the best way to achieve that ? SPI to UART
converter like the MAX3100, or perhaps a I2C to UART circuit, or
perhaps is it possible to emulate an uart with GPIO... Any advices
will be appreciate.

Thanks for your help,
Best regards,
Christophe.



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


Re: Help need : I need more than 2 UARTs - Tom Walsh - Oct 1 23:53:28 2006

Christophe wrote:
>
> Hello,
>
> I'am trying to set up an application with an Xbee module and an
> graphical display, both with an serial interface. As far as I
> understand, there are only 2 uarts on my LPC2138 board. I would like
> to keep UART 0 for programing and communication with the module, so I
> need one more uart. What is the best way to achieve that ? SPI to UART
> converter like the MAX3100, or perhaps a I2C to UART circuit, or
> perhaps is it possible to emulate an uart with GPIO... Any advices
> will be appreciate.
>
Well, you've named all the possible solutions. So start looking at the
tradeoffs and pick one.

TomW

--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
----------------------------------------------------

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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

Re: Help need : I need more than 2 UARTs - =?iso-8859-1?q?Carsten_Gr=F8n?= - Oct 2 1:56:10 2006

In my current project, I'm using a LPC915 device connected to the
I2C bus of a LPC2148. It acts as a I2C slave implementing a circular
buffer on the UART side. Using an "intelligent" device like that,
enables one to add some "pre-processing" to the uart data....
The LPC915 ius cheap too, has internal osc, much cheaper than the
MAX3100 solution...It would be very easy to scale this solution,
just add more LPC915 on the I2C bus...(depends ofcourse on the
amount of data that needs to be sent/received over the uart !)

Regards,
Carsten Groen

--- In l...@yahoogroups.com, Tom Walsh wrote:
>
> Christophe wrote:
> >
> > Hello,
> >
> > I'am trying to set up an application with an Xbee module and an
> > graphical display, both with an serial interface. As far as I
> > understand, there are only 2 uarts on my LPC2138 board. I would
like
> > to keep UART 0 for programing and communication with the module,
so I
> > need one more uart. What is the best way to achieve that ? SPI
to UART
> > converter like the MAX3100, or perhaps a I2C to UART circuit, or
> > perhaps is it possible to emulate an uart with GPIO... Any
advices
> > will be appreciate.
>



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

Re: Help need : I need more than 2 UARTs - Brendan Murphy - Oct 2 2:59:23 2006

--- In l...@yahoogroups.com, Tom Walsh wrote:
>
> Christophe wrote:
> >
> > Hello,
> >
> > I'am trying to set up an application with an Xbee module and an
> > graphical display, both with an serial interface. As far as I
> > understand, there are only 2 uarts on my LPC2138 board. I would
like
> > to keep UART 0 for programing and communication with the module,
so I
> > need one more uart. What is the best way to achieve that ? SPI
to UART
> > converter like the MAX3100, or perhaps a I2C to UART circuit, or
> > perhaps is it possible to emulate an uart with GPIO... Any
advices
> > will be appreciate.
> >
> Well, you've named all the possible solutions. So start looking
at the
> tradeoffs and pick one.
>
> TomW

Tom: all solutions? some of the responses to this post have flushed
out a couple not on the original list, notably adding a cheap micro.

I guess that was the intent of the original post. Hardly deserving
the abrupt response above.

Brendan.



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

Re: Help need : I need more than 2 UARTs - Brendan Murphy - Oct 2 3:07:33 2006

--- In l...@yahoogroups.com, Carsten Gr=F8n wrote:
>
> In my current project, I'm using a LPC915 device connected to the=20
> I2C bus of a LPC2148. It acts as a I2C slave implementing a circular=20
> buffer on the UART side. Using an "intelligent" device like that,=20
> enables one to add some "pre-processing" to the uart data....
> The LPC915 ius cheap too, has internal osc, much cheaper than the=20
> MAX3100 solution...It would be very easy to scale this solution,=20
> just add more LPC915 on the I2C bus...(depends ofcourse on the=20
> amount of data that needs to be sent/received over the uart !)
>=20
> Regards,
> Carsten Groen

We do something similar with a LPC2134 - the same micro as the main=20
system's one. The main system uses both UARTs: we implemented an I2C=20
to UART on the 2nd LPC2134 for a (plug-in) debug port (i.e. it's only=20
used for development, not for the main product). I'm not suggesting=20
you use anything as powerful if it's to be included in the main=20
system, but the setup works well: there are plenty of cheap 8-bit=20
micros, that work out quite cost effective. The can also be used as=20
a "port expander" for other IO as well.

Brendan

=20

=20


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