Design of STM32C011F6 board with external crystal #2635
-
Hi All, I'm designing few boards based on STM32C011F6 and would use STM32duino for firmware and I think, STM32duino also support that MCU too. However, I'm not sure about few things as I've never designed a board myself, these are:
Intended Applications: I want to use STM32C011F6 for variety of use cases, some variants require only ADC to measure analog voltage (0-3.3V) along with few button input and relay output but other need a timer circuit which should measure minutes for a timer and relay application. I've asked this question on STM32 community where they told me to ask in this community what is actually supported by STM32duino. Thanks for any input! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @cogentcoder
No, it is not mandatory. Internal oscillato are less precise but it works.
STM32C011F6 have already a generic variant defined: So default clock config is already defined here using HSI: So simply use the Generic C011F6 variant. |
Beta Was this translation helpful? Give feedback.
Hi @cogentcoder
No, it is not mandatory. Internal oscillato are less precise but it works.
STM32C011F6 have already a generic variant defined:
https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32C0xx/C011D6Y_C011F(4-6)(P-U)_C031F(4-6)P
So default clock config is already defined here using HSI:
Arduino_Core_STM32/variants/STM32C0xx/C011D6Y_C011F(4-6)(P-U)_C031F(4-6)P/generic_clock.c
Line 25 in 5f34649
So simply use the G…