Search found 1754 matches

by fpiSTM
Mon Apr 15, 2024 9:56 am
Forum: General discussion
Topic: F401 blackpill no deepsleep
Replies: 4
Views: 1285

Re: F401 blackpill no deepsleep

Note that the measure is done on IDD. So only the MCU consumption is measured.
by fpiSTM
Fri Apr 05, 2024 1:19 pm
Forum: General discussion
Topic: F401 blackpill no deepsleep
Replies: 4
Views: 1285

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...
by fpiSTM
Thu Apr 04, 2024 1:53 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2592

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...
by fpiSTM
Thu Apr 04, 2024 9:10 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2592

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?....
by fpiSTM
Wed Apr 03, 2024 3:38 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2592

Re: Generic_F030RCT missing?

Hard to help without the code you add.
by fpiSTM
Wed Mar 27, 2024 9:36 am
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2592

Re: Generic_F030RCT missing?

A Pull Request on GitHub.
by fpiSTM
Tue Mar 26, 2024 6:39 pm
Forum: IDE's
Topic: Generic_F030RCT missing?
Replies: 12
Views: 2592

Re: Generic_F030RCT missing?

You can find here how to declate the generic:
https://github.com/stm32duino/Arduino_C ... 28board%29

Feel free to submit a PR ;)
by fpiSTM
Tue Mar 26, 2024 1:40 pm
Forum: General discussion
Topic: strange USART behaviour
Replies: 6
Views: 933

Re: strange USART behaviour

Not necessarily as it works fine on nucleo board with same mcu.
by fpiSTM
Mon Mar 25, 2024 1:11 pm
Forum: General discussion
Topic: strange USART behaviour
Replies: 6
Views: 933

Re: strange USART behaviour

Are you sure you used USART3? (Which pins?)
You could read the Errata Sheet, they are some point around UART, ex: Data corruption due to noisy receive line.

Go to advanced search