cancel
Showing results for 
Search instead for 
Did you mean: 

External oscillator input

Welcome_123
Associate II

In application we are using MCU part no STM32G0KCIU6 of LQFP32 / UFQFPN32 - GP package, can external oscillator of frequency 16MHz (Example: Part no ASEMB-16.000MHZ-LY-T) can be connected to pin no 2 which is dedicated for LSE clock frequency 32KHz. As per datasheet Pin assignment and description list Pin No 2 of MCU has additional options to configure as OSC_IN whether this pin can be configured for HSE requirement? Can external oscillator of frequency 16MHz can be connected to this Pin?

17 REPLIES 17

external Crystal oscillator have two pins OSC_IN and OSC_OUT as mentioned OSC_IN will be connected to PC14. suggest which pin can i connect OSC_OUT

With Crystal oscillator you need to use only OSC_IN  and in this package only OSC_IN is available:

SofLit_0-1729249349878.png

So you need to use a Crystal oscillator not a Crystal/resonator.

Example: https://sourcewell.in/product/crystal-oscillators/

Hope it does answer your question.

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@Welcome_123 wrote:

suggest which pin can i connect OSC_OUT


When you're using an external oscillator, you bypass the STM32's internal oscillator.

The OSC_OUT or OSC32_OUT pin then becomes available as GPIO

See the Reference Manual:

AndrewNeil_0-1729249497117.png

https://www.st.com/resource/en/reference_manual/rm0444-stm32g0x1-advanced-armbased-32bit-mcus-stmicroelectronics.pdf#page=168

AndrewNeil_1-1729249580199.png

 

can ST suggest 48MHz Crystal oscillator for this application


@Welcome_123 wrote:

can ST suggest 48MHz Crystal oscillator for this application


You need a crystal oscillator powered with VDD of your MCU.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Welcome_123
Associate II

yes need a crystal oscillator powered with 3.3V

You suggested one in your opening post?

According to its datasheet

SofLit_0-1729255548560.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.