Hello,
I'm very new in using STM32 chip on arduino platform. I made a pcb board with STM32f103c8t6, 8MHz HSE and 32.768kHz LSE. Can I check the clock speed of the MCU on arduino platform to make sure it is running with 72MHz, or by default, it runs at 72MHz?
I checked with the variant.h from ..AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2020.12.26\variants\generic_stm32r103c
but I didn't find the place indicating the clock speed...
can anyone advise? Thanks in advance.
Check Clock Speed for STM32f103c8t6
-
- Posts: 505
- Joined: Fri Dec 27, 2019 4:53 pm
- Location: Munich, Germany
- Contact:
Re: Check Clock Speed for STM32f103c8t6
It runs by default with 72MHz, check the file \variants\generic_stm32f103c\wirish\boards_setup.cpp.
Re: Check Clock Speed for STM32f103c8t6
Great! thanks for letting me know!
Re: Check Clock Speed for STM32f103c8t6
@Blosso
Please post in the right section of the forum. I moved your topics in the correct section.
Please post in the right section of the forum. I moved your topics in the correct section.
