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.

crystal oscillator required for serial communication for PIC16F877A

Status
Not open for further replies.

Umair Ahmed

Newbie level 1
Joined
Jul 9, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
Hi, i am working with PIC16F877A i need to do the serial communication. kindly guide me what value of external crystal i should use for serial communication. And which is the register used for serial communication in PIC16F877A.
 

The PIC16F877A datasheet contains all the information you need:

PIC16F87XA Data Sheet

Reference: pg 114, TABLE 10-3: BAUD RATES FOR ASYNCHRONOUS MODE (BRGH = 0) and TABLE 10-4: BAUD RATES FOR ASYNCHRONOUS MODE (BRGH = 1)

FOSC is the crystal frequency, the tables indicated %ERROR, therefore choose your FOSC at a chosen BAUD rate to minimize %ERROR.

The info should get you started in the right direction.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top