Hello friends!
I bought a new version of the Black Pill v3.1 board (WeAct Studio) with HSE 8 MHz.
The standard version of the board is available with HSE 25 MHz, and this board (easier to enter dfu mode by usb)
was made with HSE 8 MHz and it does not work.
Please tell me in detail what and where to fix so that the board works in Arduino.
I am a novice specialist and I really need to launch this board.
I will be very grateful for your help.
WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
-
- Posts: 2
- Joined: Fri Apr 19, 2024 1:04 am
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Simply redefine HSE_VALUE using hal_conf_extra.h.
See the wiki.
See the wiki.
-
- Posts: 2
- Joined: Fri Apr 19, 2024 1:04 am
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
Hi fpiSTM !
There is no such file. I need to create it myself in the catalog C:\Users\Admin\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.7.1\variants\STM32F4xx\F411C(C-E)(U-Y)?
Or does it need to be created in another directory? I looked at the Wiki, but did not understand what needs to be entered there.
Only one line #define HSE_VALUE 800000000U or something else needs to be added to this file?
Could you help me write the contents of this file?
Re: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
https://github.com/stm32duino/Arduino_C ... adaptation
https://github.com/stm32duino/Arduino_C ... efinitions
So simply create the file with at sketch level :
#define HSE_VALUE 800000000U
https://github.com/stm32duino/Arduino_C ... efinitions
So simply create the file with at sketch level :
#define HSE_VALUE 800000000U