Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

What clock frequency for a certain baud rate?

Status
Not open for further replies.

atferrari

Well-Known Member
Most Helpful Member
PIC 18F family EUSART

Many years ago I was able to grasp this but I forgot all about it.

For a certain baud rate, how could I know the EUSART's frequency of the clock when transmitting in Synchronized mode?

I understand that I should define if it is 8 or 9 bits/symbol, right? And add if there is parity bit?

Something like Tx clok freq = Baud rate * (8+1)??

If I look at lost on this, yes, I am.

Please, I know the formulas in the datasheet. What I am asking is the relationship between baud rate and Tx clock frequency because I intend use it in non standard way.

Gracias.
 
I'm not sure of your specific case but to the best of my knowledge for proper synchronous serial communication, the usarts clock rate needs to be 4 times the synchronized baud rate minimum. Please read carefully as I stated that the usarts clock rate, the usart is fed from the clock frequency by an addition prescaler unit.

You'd have to define non-standard and exactly what you're doing to clarify things further.
 
Last edited:
Discarded the idea

Gracias for replying Sceadwian.

I was exploring the possibility to use the EUSART Tx clock of a 18F PIC micro to control a switched capacitor filter.

I discarded the idea because to have it running continuously I should keep the micro busy in feeding byte after byte to the EUSART to transmit permanently.
 
You could always use two chips =)
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top