Interacting pc and lpc2148

OP #1251823
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 #1251833
What do you expect? Ready made code where you just have to insert your 
name that solves the task and satisfies your teacher?
Just start and ask more specifically if you run into problems.
Moderator #1254683
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

A question of your own? This thread is over 17 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.