Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC 16F88 baud rate problem

Status
Not open for further replies.

chuat

Member level 1
Joined
May 11, 2011
Messages
41
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,559
Currently i am using PIC 16F88 for serial communication and i need to set it the baud rate 300 to sending data.
Unfortunately the ccs c compiler saying not supported baud rate. Can anyone help to make it can set the baud rate to 300 withiout modifying any hardware connection (like adding external oscillator, currently i am using internal oscillator)? thanks.....
 

Set the internal oscillator to 4MHz (IRCF<2:0> = 6 [binary: 110]).

Set BRGH = 0 for use in low-speed mode.

Load 207 into SPBRG. Then you get a baud rate of 300 with 0% error.

You can't get baud rate of 300 with 8MHz frequency. You must have a frequency of 4MHz or lower.

Hope this helps.
Tahmid.
 
Last edited:

thanks for the help.....
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top