2023-04-02 10:19 AM
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?
Solved! Go to Solution.
2023-04-02 11:24 AM
>>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
2023-04-02 10:20 AM
2023-04-02 11:24 AM
>>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
2023-04-02 11:45 AM
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?
2023-04-02 03:48 PM
STM32F070F6P6
https://www.st.com/resource/en/datasheet/stm32f070f6.pdf
Yes, that's a different part which does have OSC_IN / OSC_OUT pins
2023-04-02 10:24 PM
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.