|
|
View previous topic :: View next topic |
Author |
Message |
pfo Guest
|
highest baud rate on PIC16F877A |
Posted: Sun Feb 15, 2004 2:27 pm |
|
|
what's the highest baud rate on PIC16F877A, any pitfalls?
thx
pfo |
|
|
Ttelmah Guest
|
Re: highest baud rate on PIC16F877A |
Posted: Sun Feb 15, 2004 3:33 pm |
|
|
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 |
|
|
|
|
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
|