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

highest baud rate on PIC16F877A

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







highest baud rate on PIC16F877A
PostPosted: Sun Feb 15, 2004 2:27 pm     Reply with quote

what's the highest baud rate on PIC16F877A, any pitfalls?

thx

pfo
Ttelmah
Guest







Re: highest baud rate on PIC16F877A
PostPosted: Sun Feb 15, 2004 3:33 pm     Reply with quote

pfo wrote:
what's the highest baud rate on PIC16F877A, any pitfalls?

thx

pfo

I have used over 500K baud.
The problems are that for reception, you must be able to deal with each byte in the time available, if overrun errors are to be avoided. The latency involved in the standard interrupt handler, can be too large for faster rates (I coded my own 'int global', and only saved the very minium registers used in the handler code).
There are also the obvious external problems (the transceivers themselves have limits on teh speeds they can operate, allowable cable lengths get shorter the faster the rate etc..).
Remember also that generally, the higher the rate, the greater the likelyhood of significant baud rate errors if the crystal used is not carefully selected to be a multiple of the required rate.

Best Wishes
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