Search found 21 matches

by feluga
Thu May 21, 2020 7:31 pm
Forum: General discussion
Topic: Problem uploading to STM32F103C8T6 board
Replies: 12
Views: 680

Re: Problem uploading to STM32F103C8T6 board

My LED is blinking with any combination of jumpers... I guess that's a bad thing then. Most STM32F103 development boards come with a pre installed blink program. I think it is part of QA process. For me, when I open a bag with a brand new bluepill and plug it to USB to turn it on, it starts blinkin...
by feluga
Sun May 17, 2020 4:35 pm
Forum: General discussion
Topic: How to use SPI2
Replies: 7
Views: 230

Re: How to use SPI2

This post has an exemple on how to use SPI2 with Roger's core: https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/536 void setup() { // Source: https://community.platformio.org/t/pio-arduino-stm32f103cbt6-remap/6786/5 afio_cfg_debug_ports(AFIO_DEBUG_SW_ONLY); // PB3 free afio_remap(AFIO_REMAP...
by feluga
Sun May 17, 2020 4:23 pm
Forum: General discussion
Topic: How to use SPI2
Replies: 7
Views: 230

Re: How to use SPI2

SphericalSound wrote:
Sun May 17, 2020 4:08 pm

Roger Clark, the creator of the libary said to do:

SPI.setMOSI(PB15);
SPI.setMISO(PB14);
SPI.setSCLK(PB13);
SPI.begin();

Or:

SPIClass SPI_2(PB15,PB14,PB13);
SPI_2.begin();
This is related to Official STM32 Core.
https://github.com/rogerclarkmelbourne/ ... issues/432
by feluga
Sat May 16, 2020 3:44 am
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 19
Views: 1440

Re: STM32F103C8 BluePill VGA Project

I'm now working on creating a "dual-core" :roll: version of this VGA library that can be used transparently with Roger's Core and Official Core. This new version is now released. The library BlueVGA 1.0 works transparently for both cores (STM32 and Roger's). The library and source code can be found...
by feluga
Fri May 15, 2020 4:56 am
Forum: General discussion
Topic: How to disable HardwareTimer on STM32 Core?
Replies: 5
Views: 183

Re: How to disable HardwareTimer on STM32 Core?

Yes it is fixed in the master and will be available in the next release 1.9.0, which will be release in the coming days. I just noticed that version 1.9.0 is released. I just updated my library BlueVGA to verion 1.0 that works transparently for both cores (STM32 and Roger's). The library and source...
by feluga
Fri May 15, 2020 2:17 am
Forum: General discussion
Topic: How to disable HardwareTimer on STM32 Core?
Replies: 5
Views: 183

Re: How to disable HardwareTimer on STM32 Core?

Is it a bug on the STM32 Core version 1.8.0? Or am I doing something wrong? I checked it on GitHub and it sounds like this issue with analog.h has been fixed in the version 1.9.0 But this version is not available to be installed by Arduino IDE Board Manager... I managed to fix it manually, but I'll...
by feluga
Fri May 15, 2020 1:53 am
Forum: General discussion
Topic: How to disable HardwareTimer on STM32 Core?
Replies: 5
Views: 183

Re: How to disable HardwareTimer on STM32 Core?

thanks for your help! https://github.com/stm32duino/wiki/wiki/Customize-build-options-using-build_opt.h I added build_opt.h file to my scketch as below: -DHAL_TIM_MODULE_ONLY I tested it in the blink.ino sketch, as below. // preprocessor testing for build_opt.h #ifdef HAL_TIM_MODULE_ONLY #warning "H...
by feluga
Thu May 14, 2020 11:41 pm
Forum: General discussion
Topic: How to disable HardwareTimer on STM32 Core?
Replies: 5
Views: 183

How to disable HardwareTimer on STM32 Core?

Hello all! I need to disable HardwareTimer from using void TIM1_CC_IRQHandler(void) ... Looking into the code of STM32 core, I found a couple possibilities: 1) HardwareTimer.cpp only uses TIM1_CC_IRQHandler() function if TIMER1_BASE is defined... but it sounds impossible to solve because it is defin...
by feluga
Sun May 10, 2020 10:10 pm
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 19
Views: 1440

Re: STM32F103C8 BluePill VGA Project

there are 2 cores official and 'community' take your pick (actually there are multitudes but libmaple has been a fad and i hope it lasts) ;) Thanks Ag123 for your answer and tips. I agree that the 2 most known cores are the STM32 and Roger's. I have initialy decided to move forward with a version o...
by feluga
Mon May 04, 2020 4:47 pm
Forum: Projects
Topic: STM32F103C8 BluePill VGA Project
Replies: 19
Views: 1440

Re: STM32F103C8 BluePill VGA Project

feluga wrote:
Wed Apr 29, 2020 2:08 pm
You will be able to see it at https://github.com/RoCorbera/BlueVGA
Hey guys, BlueVGA is officially published as an Arduino Library!
I hope it is usefull for some of you! :D
BlueVGA Library officially listed in Arduino IDE-min.png
BlueVGA Library officially listed in Arduino IDE-min.png (28.27 KiB) Viewed 424 times

Go to advanced search