CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

RS232 communication

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
New guest
Guest







RS232 communication
PostPosted: Sun Jan 04, 2009 9:01 am     Reply with quote

I trying to make some bidirectional serial communication between 16F877 and PC. The point of this test is to see how many data can I send and receive in some time. Let say 1 second.

I want to calculate number of packets that I received and transmitted but in real time. PC sends data I read and automatically make reply and so on.

Thank you !
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: RS232 communication
PostPosted: Sun Jan 04, 2009 5:28 pm     Reply with quote

New guest wrote:
I trying to make some bidirectional serial communication between 16F877 and PC. The point of this test is to see how many data can I send and receive in some time. Let say 1 second.

I want to calculate number of packets that I received and transmitted but in real time. PC sends data I read and automatically make reply and so on.

Thank you !


it depends on the baud rate you select. At 115200baud (115200 bits per second) each byte requires 10 bits (8 data, 1 start bit, 1 stop bit) therefore the maximum transfer rate is 11520 bytes per second full duplex (11520 bytes per second in each direction).
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group