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

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now