cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G030K6T6 oscillator pins

MMala.3
Associate II

As per datasheet pin 2 and pin 3 are OSC32_IN and OSC32_OUT pins I want to connect a 8MHZ crystal and was looking for OSC_IN and OSC_OUT pins, but could not find any info regarding them, can the OSC32_IN and OSC32_OUT pins be used for connecting the 8Mhz crystal?

0693W00000bhMAbQAM.png

1 ACCEPTED SOLUTION

Accepted Solutions

>>can the OSC32_IN and OSC32_OUT pins be used for connecting the 8Mhz crystal?

No, It's for a 32.768 KHz source

You'll typically need a 48-pin device with OSC_IN / PF0 and OSC_OUT / PF1

On the 32-pin device PC14 has additional functions OSC_IN, PC15 as OSC_EN

It won't oscillate a crystal, so you'll need an CXO / TCXO source

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

5 REPLIES 5
MMala.3
Associate II

0693W00000bhMAWQA2.png

>>can the OSC32_IN and OSC32_OUT pins be used for connecting the 8Mhz crystal?

No, It's for a 32.768 KHz source

You'll typically need a 48-pin device with OSC_IN / PF0 and OSC_OUT / PF1

On the 32-pin device PC14 has additional functions OSC_IN, PC15 as OSC_EN

It won't oscillate a crystal, so you'll need an CXO / TCXO source

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MMala.3
Associate II

Thanks for the info.

I saw a board on newegg

They were using similar series mcu STM32G0 but TSSOP package and I wondered how they were doing the crystal connections.

Maybe they are doing what you suggested using CXO/TCXO source.

What is the OSC_EN pin for? Is it needed for the crystal operation?

0693W00000bhME9QAM.png

STM32F070F6P6

https://www.st.com/resource/en/datasheet/stm32f070f6.pdf

Yes, that's a different part which does have OSC_IN / OSC_OUT pins

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I rechecked the link

https://www.newegg.com/p/2SW-006N-009V3

and it was for the STM32G030F6P6 part.

I saw the datasheet and it has only the OSC_IN pin at pin2 and no OSC_OUT pin.