Search found 408 matches

by GonzoG
Wed Jun 10, 2020 12:24 pm
Forum: General discussion
Topic: HID keyboard + Serial USB on blue pill ??
Replies: 2
Views: 5302

HID keyboard + Serial USB on blue pill ??

Hi,
I've searched but could not find anything so I'm asking here.
Is it possible (and how to do it) to set up blue pill as HID keyboard with USB serial ??
by GonzoG
Thu Jun 04, 2020 12:18 pm
Forum: General discussion
Topic: Sleep modes for STM32F1
Replies: 5
Views: 9914

Re: Sleep modes for STM32F1

The name of low power modes are different because it's a library for Arduino IDE. There is already Arduino low power library for Arduino 32b boards so this one uses same names as in Arduino library for compatibility. You either you this low power library or you do it by yourself using asm or registe...
by GonzoG
Wed Jun 03, 2020 8:11 pm
Forum: General discussion
Topic: Sleep modes for STM32F1
Replies: 5
Views: 9914

Re: Sleep modes for STM32F1

Official ST low power library:
https://github.com/stm32duino/STM32LowPower
All low power modes are explained there also.
The most power efficient mode without loosing RAM is deepsleep.
by GonzoG
Tue May 26, 2020 2:52 pm
Forum: General discussion
Topic: What causes the stm32 RTC to reset?
Replies: 18
Views: 13802

Re: What causes the stm32 RTC to reset?

Bambo wrote: Wed May 20, 2020 10:47 am Ok so i've added the setClockSource() to the RTC code but now it doesn't restart at all once shutdown is called?
"rtc.setClockSource(STM32RTC::LSE_CLOCK); " needs to be called before rtc.begin();
all about rtc library:
https://github.com/stm32duino/STM32RTC
by GonzoG
Sun May 10, 2020 11:06 pm
Forum: General discussion
Topic: What causes the stm32 RTC to reset?
Replies: 18
Views: 13802

Re: What causes the stm32 RTC to reset?

It's just source for RTC, nothing else.
Don't know what board you're using, but with blue pills I found built-in RTC unreliable, probably due to bad quality oscillators.
by GonzoG
Sun May 03, 2020 10:29 pm
Forum: General discussion
Topic: What causes the stm32 RTC to reset?
Replies: 18
Views: 13802

Re: What causes the stm32 RTC to reset?

You need to set RTC source to LSE if you want it to work in shutdown mode or without power (just with RTC battery).
by GonzoG
Sat Jan 25, 2020 12:08 am
Forum: General discussion
Topic: Blue pill current usage
Replies: 8
Views: 9992

Re: Blue pill current usage

It all depends on what peripherals you have enabled as each one of them uses power if enabled.
I get from about 30 to 50mA (with 1.3" OLED).

I've attached page from stm32f103x8 datasheet with graphs showing current consumption.
each LED on blue pill board uses about 2mA.

Go to advanced search