STM32G030K8T6 HSE Crystal Resonator Option Missing (CubeMX)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-11 2:51 PM
Hello,
I recently developed a board to use the STM32G030K8T6 under the assumption that it could support an external crystal oscillator (given what is said in the datasheet) and as I was setting it up in the CubeMX tool I noticed that the HSE was only activated in the Clock Configuration menu, if I checked the BYPASS Clock Source option in RCC Mode settings. However this does not seem to work in order to activate the HSE crystal, and the generated code sets the HSE as bypassed.
Does this MCU actually support an external crystal, or is CubeMX not correctly displaying all the options for this MCU?
Thank you!
Solved! Go to Solution.
- Labels:
-
RCC
-
STM32CubeMX
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-11 5:17 PM - edited ‎2023-11-20 5:39 AM
see in ds :
..K.. has only BYPASS Clock Source option , is oszillator input. not for pure crystal .
and LSE crystal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-11 5:17 PM - edited ‎2023-11-20 5:39 AM
see in ds :
..K.. has only BYPASS Clock Source option , is oszillator input. not for pure crystal .
and LSE crystal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-12 5:33 AM
Thank you for your answer.
If I understood correctly, you meant that it only accepts a CMOS oscillator, not a crystal oscillator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-12 6:15 AM - edited ‎2023-11-20 5:39 AM
set BYPASS Clock Source option : can use crystal-clock-oscillator , cmos or ..., but not just a crystal.
this is a crystal: 2 pins , (passive part) .
and this are crystal oscillators :
have typ. 4 pins: vcc, gnd , enable, clock out .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-12 11:18 PM
You understood correctly, but to put it more accurately - not just and oscillator, but any CMOS level clock signal, which conforms to the datasheet specification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-12 11:21 PM
Many SMD crystal packages also have 4 physical pins...
