Search found 1761 matches

by fpiSTM
Tue Sep 21, 2021 7:32 am
Forum: General discussion
Topic: Appropriate low-power mode for timing applications
Replies: 17
Views: 7622

Re: Appropriate low-power mode for timing applications

When you use deep sleep interrupt are disabled. You have to use the RTC to be able to wait the desired time. Check the API you will see that you can pass delay as argument.
by fpiSTM
Mon Sep 20, 2021 2:52 pm
Forum: IDE's
Topic: Activating bluepill watchdog using arduino IDE
Replies: 3
Views: 2490

Re: Activating bluepill watchdog using arduino IDE

I've completed my answer in the other thread. As you mentioned that you get "No probe detected" I've simply comment that the upload method you choose required an STLink. Anyway you can use other upload method, DFU, Bootloader,... in the submenu of the STM32 core. If you want use Roger's co...
by fpiSTM
Mon Sep 20, 2021 2:48 pm
Forum: IDE's
Topic: IWatchdog.h: no such file or directory
Replies: 11
Views: 6109

Re: IWatchdog.h: no such file or directory

fpiSTM wrote: Mon Sep 20, 2021 12:03 pm Bluepill required to have an external STLink
I have to complete my answer:
to use th SWD upload method. Else you cans use other method like DFU or other bootloader method ;)
by fpiSTM
Mon Sep 20, 2021 2:19 pm
Forum: IDE's
Topic: Activating bluepill watchdog using arduino IDE
Replies: 3
Views: 2490

Re: Activating bluepill watchdog using arduino IDE

You should avoid to open several topics around the same thing.
The IWatchdog library provide an example for the STM32 core.
by fpiSTM
Mon Sep 20, 2021 12:03 pm
Forum: IDE's
Topic: IWatchdog.h: no such file or directory
Replies: 11
Views: 6109

Re: IWatchdog.h: no such file or directory

Bluepill required to have an external STLink
by fpiSTM
Mon Sep 20, 2021 8:52 am
Forum: IDE's
Topic: IWatchdog.h: no such file or directory
Replies: 11
Views: 6109

Re: IWatchdog.h: no such file or directory

First you should tell us which core you used.
viewtopic.php?f=2&t=301


The STM32 core provide the IWatchDog library:
https://github.com/stm32duino/Arduino_C ... /IWatchdog
by fpiSTM
Thu Sep 16, 2021 12:44 pm
Forum: General discussion
Topic: can USB be used to create a virtual com port?
Replies: 33
Views: 8143

Re: can USB be used to create a virtual com port?

STM32_Newbbe wrote: Thu Sep 16, 2021 9:36 am ok, did I get this right that I "just" have to configure USB CDC in the Arduino IDE and then I can get VCP support?

that would be pretty straight forward :)
yes
by fpiSTM
Thu Sep 16, 2021 12:43 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: NUCLEO-L4P5ZG support ?
Replies: 5
Views: 3739

Re: NUCLEO-L4P5ZG support ?

This part have been reviewed to use register instead of serie name when possible:
https://github.com/stm32duino/Arduino_C ... /pull/1435
by fpiSTM
Wed Sep 15, 2021 12:08 pm
Forum: Off topic
Topic: fake lm35dz temperature sensors
Replies: 47
Views: 40399

Re: fake lm35dz temperature sensors

Thanks.
About ADC sampling it can be redefined using the build_opt.h:

https://github.com/stm32duino/Arduino_C ... pp#L33-L47

Simply defined ADC_SAMPLINGTIME with the value you want ;)

Go to advanced search