Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

UART recv-send how to implement in c?

Status
Not open for further replies.

mashhur

Member level 5
Joined
Jan 21, 2009
Messages
91
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,288
Activity points
1,863
Hello there,

I am using MVC100 board and it has a GPS(GGL150-EL) sensor. The sensor sends data through UART. What should i do is to receive data through UART.
Could somebody please explain me how to recv/send the data using UART?

any help will be highly appreciated.

Thanks!
 

hi
u can get the data from gps using rs232 serial cable, then connect tis with pc hyper terminal, from hyper terminal u can send and receive the data.
 

hi
u can get the data from gps using rs232 serial cable, then connect tis with pc hyper terminal, from hyper terminal u can send and receive the data.

actually, it is attached to the board and through the CPU i should receive the GPS data. so, as written in data sheet GPS sensor sends data through usb2.0 serial port (UART) but im not able to read it programmatically, i mean in c.

but i did such work on SDcard, like opened driver (mmcblk0p1) and just read bits. i dont have any ideas about which communication method (uart or others) does sd card use.

any help pls, thanks.
 

finally, i found how to implement serial port communication (UART) and control its parameters.. so on.
if somebody is having difficulties with it let me know.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top