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.

To use external crystal or internal RC oscillator for SSTM32F103C8T6

Status
Not open for further replies.

Techman_7

Full Member level 2
Full Member level 2
Joined
Dec 21, 2013
Messages
137
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,298
Activity points
2,412
We are using STM32F103C8T6 microcontroller for handling digital I/O, RS 485 communication.
For this application is it OK if internal RC oscilattor is used (Frequency = 8 MHz).

Or external crystal / resonator is required for this application (data rate = 500kbps).
Pls let me know.
 

For communication, you need precise clock source, so you need to use an external crystal! Internal clock source are not precise enough to get spot on clock source as far as I know!
 
The way to determine this for yourself is to look at the data sheet for that MCU. In Table 24 it shows that the HSI frequency stability under 'normal' conditions is -1.1% to +1.8% but can be up to -2% to 2.5% under extreme temperature conditions.
Typically UARTs need to have the system clock frequency stable to less than 2% for reliable sending and receiving.
Therefore to probably will be OK with the HSI unless you are trying to use this under something other than normal room temperatures.
If this is for a hobby project or something where occasional signal errors can be tolerated (i.e. there is a CRC and re-send style of protocol used) then use the HSI.
However it is probably better to use a crystal if you can.
Susan
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top