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
Search found 1758 matches
- Sat Apr 20, 2024 7:56 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 40
- Views: 6172
- Sat Apr 20, 2024 7:02 am
- Forum: General discussion
- Topic: WeAct Studio STM32F411CEU6 BlackPill v3.1 crystal is 8 MHz
- Replies: 40
- Views: 6172
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.
- Fri Apr 19, 2024 6:46 am
- Forum: STM32F4 based boards
- Topic: FreeRTOS library not working in stm32f407
- Replies: 1
- Views: 1412
Re: FreeRTOS library not working in stm32f407
Your best bet is to debug to see where it fails.
- Mon Apr 15, 2024 2:29 pm
- Forum: General discussion
- Topic: SD card problem with SPI
- Replies: 1
- Views: 1339
Re: SD card problem with SPI
You should use the official SDFat library from Bill Greiman.
https://github.com/greiman/
We made some fixes within the 2.7.1 core version and works as expected.
https://github.com/greiman/
We made some fixes within the 2.7.1 core version and works as expected.
- Mon Apr 15, 2024 9:56 am
- Forum: General discussion
- Topic: F401 blackpill no deepsleep
- Replies: 4
- Views: 1422
Re: F401 blackpill no deepsleep
Note that the measure is done on IDD. So only the MCU consumption is measured.
- Fri Apr 05, 2024 1:19 pm
- Forum: General discussion
- Topic: F401 blackpill no deepsleep
- Replies: 4
- Views: 1422
Re: F401 blackpill no deepsleep
Hi, deepsleep (stop mode) works as expected. I've tested with a Nucleo F401RE, I've got something close to your value (3 mA when the LED is OFF). Anyway, you probably have to ensure all unused pins are set to Analog Input and the respective GPIO port clock disabled. The library can't do that for you...
- Thu Apr 04, 2024 4:03 pm
- Forum: PR's bugs and enhancements
- Topic: STM32G431CBU6 : TIMER17 : setting negative channel mashes positive one
- Replies: 1
- Views: 607
Re: STM32G431CBU6 : TIMER17 : setting negative channel mashes positive one
This is a known issue and fixed in the repo. You can find a workaround in the related issue.
https://github.com/stm32duino/Arduino_C ... /pull/2294
https://github.com/stm32duino/Arduino_C ... /pull/2294
- Thu Apr 04, 2024 1:53 pm
- Forum: IDE's
- Topic: Generic_F030RCT missing?
- Replies: 12
- Views: 3406
Re: Generic_F030RCT missing?
In fact you simply can change the HSE_VALUE to the one you have, then the clock config will be inline. You can define it to the variant_*.h or adding a hal_conf_extra.h file with the correct definition. Even in Cube IDE you can change this value thanks cubeMX. Default HSE_VALUE is simply a recommend...
- Thu Apr 04, 2024 9:10 am
- Forum: IDE's
- Topic: Generic_F030RCT missing?
- Replies: 12
- Views: 3406
Re: Generic_F030RCT missing?
You can optimize several things as explained in the wiki.
About code, I talk about the variant and the update you made else can't help on the clock issue. Some hardware info can help also. Like HSE? LSE?....
About code, I talk about the variant and the update you made else can't help on the clock issue. Some hardware info can help also. Like HSE? LSE?....
- Wed Apr 03, 2024 3:38 pm
- Forum: IDE's
- Topic: Generic_F030RCT missing?
- Replies: 12
- Views: 3406
Re: Generic_F030RCT missing?
Hard to help without the code you add.