×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Simple Atmel Serial Coms

Simple Atmel Serial Coms

Simple Atmel Serial Coms

(OP)
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

RE: Simple Atmel Serial Coms

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.

RE: Simple Atmel Serial Coms

(OP)
Hi Zeit,

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

Thanks

Robert

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close