Search found 13 matches

by pwrgreg007
Sun Mar 20, 2022 4:11 pm
Forum: General discussion
Topic: Blue Pill Backup Domain RAM
Replies: 0
Views: 2115

Blue Pill Backup Domain RAM

I am in need of a few bytes of backup domain RAM on an STM32F103C8 Blue Pill project, and did not find any similar discussions on this forum. I am using the RTC with a coin cell battery backup and that works fine. I plan to use the alarm clock functions as well. I cannot find a diagram of which BKR ...
by pwrgreg007
Mon Feb 28, 2022 1:41 am
Forum: Projects
Topic: Bluepill TFT LCD GPS Clock
Replies: 8
Views: 5585

Re: Bluepill TFT LCD GPS Clock

@GonzoG Thanks, that works!
by pwrgreg007
Sun Feb 27, 2022 12:29 am
Forum: Projects
Topic: Bluepill TFT LCD GPS Clock
Replies: 8
Views: 5585

Re: Bluepill TFT LCD GPS Clock

raduc Thanks for your feedback. After searching for a couple days, I found many references to PWM code for Arduino and Blue Pill. One youTube video shows using pwmWrite() function, but STM32 core library doesn't seem to support it: I get 'not declared in this scope'. What I'm trying to do (simple e...
by pwrgreg007
Wed Feb 23, 2022 12:03 am
Forum: Projects
Topic: Bluepill TFT LCD GPS Clock
Replies: 8
Views: 5585

Re: Bluepill TFT LCD GPS Clock

This Clock is using a 320X240 ILI9341 tft lcd connected over SPI. Also the Blupill does have a 32Khz crystal for RTC and a backup CR2032 battery will keep the clock running and the battery backed up RAM with all the settings up and running even when the power is off. A GPS module is used to set the...
by pwrgreg007
Sat Jan 29, 2022 11:11 pm
Forum: General discussion
Topic: [Solved]How to use USB micro port on BluePill
Replies: 11
Views: 17571

Re: [Solved]How to use USB micro port on BluePill

Hi Gonzo, thanks for your assistance. I have made the code change you suggested. After running this update, the LED remains on and 'USB Not Recognized.' In Arduino I have the settings: CDC (generic 'Serial' supersede USART) U(S)ART support: disabled. The Blue Pill is powered only from the USB port c...
by pwrgreg007
Sat Jan 29, 2022 10:15 pm
Forum: General discussion
Topic: STM32 Compatible Libraries
Replies: 19
Views: 8670

Re: STM32 Compatible Libraries

This was due to an error on my part. I had selected 'BluePill F103C6 (32K)' instead of the correct 'BluePill F103C8 (64K).
Thanks to everyone for the helpful replies.
by pwrgreg007
Sat Jan 29, 2022 10:02 pm
Forum: General discussion
Topic: [Solved]How to use USB micro port on BluePill
Replies: 11
Views: 17571

Re: [Solved]How to use USB micro port on BluePill

Hi all, I'm new to the forum. I see this thread is a couple years old, but didn't want to open a new one for the same issue. If I should do so, or post elsewhere, please advise and accept my apologies in advance. I have been programming for 40 years but this is a completely new environment, so my ex...
by pwrgreg007
Mon Jan 17, 2022 1:31 am
Forum: General discussion
Topic: STM32 Compatible Libraries
Replies: 19
Views: 8670

Re: STM32 Compatible Libraries

I found something interesting. First, the presence of hal_conf_extra.h didn't change anything, whether it compiled or not. The instructions at https://github.com/stm32duino/Arduino_Core_STM32/issues/228 may need some clarification. The hex file size (for the blink example) compiled with the deprecat...
by pwrgreg007
Sat Jan 15, 2022 11:12 pm
Forum: General discussion
Topic: STM32 Compatible Libraries
Replies: 19
Views: 8670

Re: STM32 Compatible Libraries

Thanks for your reply GonzoG, much appreciated I must be interpreting the documentation on that site incorrectly. I have this content in hal_conf_extra.h in the sketch folder. // turn off STM32 HAL library elements that are not needed #define HAL_ADC_MODULE_DISABLED #define HAL_I2C_MODULE_DISABLED #...
by pwrgreg007
Sat Jan 15, 2022 10:11 pm
Forum: General discussion
Topic: STM32 Compatible Libraries
Replies: 19
Views: 8670

Re: STM32 Compatible Libraries

Thanks GonzoG for your reply. I turned on verbose compile/link output and see tons of library files being linked in, as you pointed out. I can turn off U(S)ART in the IDE. Excuse my newbie-ness, how does one disable all these unneeded libraries from being included? Are those items installed in Libra...

Go to advanced search