Search found 8 matches

by marce002
Wed Sep 18, 2024 7:00 pm
Forum: General discussion
Topic: Internal oscilator bluepill stm32f103
Replies: 16
Views: 8467

Re: Internal oscilator bluepill stm32f103

For the 4th and last time... there is no sense in repeating it more times.

hey hey take it easy, who do you think you are? if I ask is because that is exactly what i have configured, or you do not read my post? despite of that same setup (no longer listed with "contributed") the blink does not ...
by marce002
Wed Sep 18, 2024 2:51 pm
Forum: General discussion
Topic: Internal oscilator bluepill stm32f103
Replies: 16
Views: 8467

Re: Internal oscilator bluepill stm32f103

Sorry to bother but still need to know what should i add to this code to use internal clock. The code is working fine with external clock and i can upload with stlink v2 and (arduino IDE with stm32 support from library json: https://dan.drown.org/stm32duino/package_STM32duino_index.json ), just that ...
by marce002
Wed Sep 18, 2024 11:52 am
Forum: General discussion
Topic: Internal oscilator bluepill stm32f103
Replies: 16
Views: 8467

Re: Internal oscilator bluepill stm32f103

Install official STM core:

have already ..see 1st post

https://github.com/stm32duino/Arduino_C ... ng-Started . There you can just select F1 boards, there you select "Generic F103C8Tx".

this is what im using


It uses HSI. With USB enabled MCU is clocked @48MHz, as USB needs exactly 48MHz ...
by marce002
Tue Sep 17, 2024 5:15 pm
Forum: General discussion
Topic: Internal oscilator bluepill stm32f103
Replies: 16
Views: 8467

Re: Internal oscilator bluepill stm32f103

I am a beginner with the Arduino environment and I need some help figuring out how to use some .c source files in a sketch and or even .h header files. maybe i need help integrating them in my code. I tried to find the answer on the forum but I couldn't, I apologize if the solution to my problem is ...
by marce002
Tue Sep 17, 2024 3:29 pm
Forum: General discussion
Topic: Internal oscilator bluepill stm32f103
Replies: 16
Views: 8467

Re: Internal oscilator bluepill stm32f103

Sorry Im confused...I will not be able to solve my own problem, so the people that reads this & will need an internal oscilator working with bluepill and read my post, will not have an INO working, unless you can help with my code. Im on Arduino IDE 2.3.2 and Generic STM32F103c8 , what have so far ...
by marce002
Tue Sep 17, 2024 2:22 pm
Forum: General discussion
Topic: Internal oscilator bluepill stm32f103
Replies: 16
Views: 8467

Re: Internal oscilator bluepill stm32f103

please im so begginer, can you help with the entire INO ? because i was expecting to
only need to copy void SystemClock_Config(){...} from main.c generated by cubemx and paste it DIRECTLY into .ino file and add extern "C" right before void SystemClock_Config(){
but header files instead are part of ...
by marce002
Tue Sep 17, 2024 1:54 pm
Forum: General discussion
Topic: Internal oscilator bluepill stm32f103
Replies: 16
Views: 8467

Re: Internal oscilator bluepill stm32f103

Thanks gonzo
, i did mod to: (but getting error: Compilation error: 'RCC_OscInitTypeDef' was not declared in this scope , is a .H header file needed or what else need to declare?

#define USE_HSI_CLOCK 1
HardwareSerial my_serial_name(USART3, PB10, PB11);
#define pinLED PC13

void SystemClock ...
by marce002
Tue Sep 17, 2024 12:17 pm
Forum: General discussion
Topic: Internal oscilator bluepill stm32f103
Replies: 16
Views: 8467

Internal oscilator bluepill stm32f103

Hello all!!
Im very new to mcu like this generic stm32f103c8 so need to learn a lot but in this case maybe is is easy for you to help with this
Please, I need to make a mod to this simple program to use the internal clock (hsi oscilator) but i have not found how to be able to do it,it is now working ...

Go to advanced search