Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Atmel Serial Coms

Status
Not open for further replies.

MerryMadDad

Programmer
Dec 11, 2001
47
0
0
GB
Hi,

I need to periodically send a number of bytes (10 or so)to a PC running a delphi program to receive data on the serial port delphi part is ok, but in the chip I am using Atmel 89S8252 do I need to worry about start and stop bits if so how do I set the thing up. In the serial coms component in Delphi you can set data,stop bits etc. Any code snippets for a simple coms program for the Atmel chip would be appreciated.

Thanks

MMD
 
Hi, what sort of code snippets are you looking for?

8051 Assembler or C?

The free downloadable version of the Keil compiler has some serial comms examples, i.e. the tdp folder.

That should give you something to start with.

rgds
Zeit.
 
Hi Zeit,

writing the code in 8051 assembly language.
Will check out the Keil Complier as suggested

Thanks

Robert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top