Interacting pc and lpc2148

OP #1251823
Rate this post
• ▲ useful
▼ not useful
I'm currently doing a project in arm lpc2148 as main project for my 
college.


I want to send certain integer values from pc via serial port to the 
lpc2148.
the arm code is an infinite loop searching for the integer value and the 
value is stored in an array or buffer how should i do that plz help
Moderator #1254683
Rate this post
• ▲ useful
▼ not useful
The LPC214x controller offers USB and UART interfaces. For a start it's 
much easier to use the LPC's UART. If you PC does not offer a 
serial-port you can use a usb-serial cable available in nearly every 
computer shop.

You need an interface-IC like i.e. a MAX3232 between LPC and PC's 
serial-port. Just look into the schematics of LPC214x evaluation boards 
for hardware-details.

Example-code on reading from/writing to an LPC UART can be found in the 
net (i.e. in the sample-collection fro LPC213x/214x from NXP.com, 
example-code from Bill Knight in the LPC yahoo-group).

Once you are familiar with developing code for the LPC you can start 
using the LPC's USB-interface.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.