Changing a running baud rate on the fly.

Status
Not open for further replies.

ryteker

New Member
Hi all,
Can the baud rate of a pic program be changed whilst it is running, or does the pic have to be reset/restarted to effect a baud rate change ?
Any advice would be appreciated.
Regards
Ryteker
 
As far as I know, changes to the baud rate generator take effect immediately. Consult the data sheet, though.
 
Hi OBW0549,
Thanks for your quick reply.
Having read again saections of the data sheet, it does indeed imply that it can be changed during active processing, this is indicated on a few lines on page 275 in section 6.3.
I'll have a play now that it does appear to be able to be achieved.
Thanks again.
 

Yes it's perfectly fine (and normal) to change baud rates while it's running, in fact you can't change it any other way.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…