Yes pawan. I have interfaced LPC and ecompass using serial port(USB to serial converter., i.e USB side is connected to laptop) . And to display the data in hyperterminal shall I use the same USB to SERIAL CONVERTER after fusing the program in flash. Is my approach is correct.
And programming part is the same logic applied by you in this thread ?
Yes you can use the same serial port to display data in hyperterminal.
I was asking you about this interface.
And to transmit a byte of data to the serial port, use the function
Code:
void senduart0(unsigned char a) //sends a byte through UART0
{
while(U0LSR!=0x40);
U0THR=a;
}
My suggestion is test the serial communication separately ( transmit a byte )--(Just have a look at previous comments in this thread). after having it working, its easy to transmit an array.
Hey.. I'm also trying to interface GPS with LPC2148.. This is the first time I'm using ARM so can u pls mail me ur program? I need it urgently.. My project is at stake.. Review in 1 week.. Pls help!!
Thanx
Hi Pawan.. I downloaded the folder but no code for gps was given there.. Could u pls mail me the code for extracting the data(location) from thee gps & displaying it on the lcd?
Thanks a ton
- - - Updated - - -
I also have another question..
I was running a simple code in Keil4 to turn on & turn off some leds.. But wen I buil target I get the following error..
error: L6236E: No section matches selector - no section to be FIRST/LAST....