Search found 38 matches

by razvitm
Sun May 03, 2020 12:17 pm
Forum: General discussion
Topic: Latest version 1.8.0 not working with example files.
Replies: 8
Views: 6348

Re: Latest version not working with example files.

fpiSTM wrote: Sun May 03, 2020 11:34 am
razvitm wrote: Sun May 03, 2020 11:17 am Where is the latest release of the library?
Use the library manager to install the latest version or select the latest tag on githib and download it as zip
You mean I should install STM32Duino examples v1.0.5 from the library manager and use the timed interrupt example from there?
by razvitm
Sun May 03, 2020 11:29 am
Forum: General discussion
Topic: Latest version 1.8.0 not working with example files.
Replies: 8
Views: 6348

Re: Latest version not working with example files.

fpiSTM wrote: Sun May 03, 2020 11:01 am Simply use the latest release of the library. The mater is inline with the core mater repo
If I install the stm32duino core via boards manager I end up with 1.8.0
Is there another way of installing the core to get 1.9.0 so the example file for timed interrupts works?
by razvitm
Sun May 03, 2020 11:17 am
Forum: General discussion
Topic: Latest version 1.8.0 not working with example files.
Replies: 8
Views: 6348

Re: Latest version not working with example files.

Can you dumb that down a little please?
Where is the latest release of the library?
I can't even make heads or tales from the second sentence :)) core mater repo???
by razvitm
Sun May 03, 2020 10:44 am
Forum: General discussion
Topic: Latest version 1.8.0 not working with example files.
Replies: 8
Views: 6348

Latest version 1.8.0 not working with example files.

This is the timed interrupt example I want to use and doesn't work: https://github.com/stm32duino/STM32Examples/blob/master/examples/Peripherals/HardwareTimer/Timebase_callback/Timebase_callback.ino When compiling, it gives the following error: #error "Due to API change, this sketch is compatib...
by razvitm
Fri May 01, 2020 12:31 pm
Forum: STM32F1 based boards
Topic: ST-Link and Blue Pill
Replies: 4
Views: 9279

Re: ST-Link and Blue Pill

I had the same problem, just install stm32cubeprogrammer and use the STM32CubeProgrammer(SWD) uploading option to use ST-Link programmer.
by razvitm
Fri May 01, 2020 12:28 pm
Forum: STM32F1 based boards
Topic: Using all 5 serial ports
Replies: 2
Views: 8422

Re: Using all 5 serial ports

Thanks, all serial ports working now.
by razvitm
Fri May 01, 2020 11:12 am
Forum: STM32F1 based boards
Topic: Using all 5 serial ports
Replies: 2
Views: 8422

Using all 5 serial ports

How can I use all the 5 serial ports on the STM32F103RCT6 microcontroller using the official ST core in Arduino? I can use USART1 just like on any other arduino board with Serial.begin(9600); but the other 4 serial ports are not working, I get compiler error "undefined reference to `Serial2'&qu...
by razvitm
Thu Apr 30, 2020 5:20 pm
Forum: Ideas & suggestions
Topic: Options for a lot of cpu clock frequencies.
Replies: 10
Views: 15254

Re: Options for a lot of cpu clock frequencies.

Please help me with step by step instructions of using cubemx, arduino and the official ST core to run the stm32f103rc at say 1MHz, for the blinky sketch. I have cubemx, arduino and the st core installed. What do I do with the files generated by cubemx? Do I copy them in the arduino blinky sketch fo...
by razvitm
Tue Apr 14, 2020 12:26 pm
Forum: Ideas & suggestions
Topic: Options for a lot of cpu clock frequencies.
Replies: 10
Views: 15254

Re: Options for a lot of cpu clock frequencies.

roger's core allows these frequencies cuz its compatible with usb clocking with this (stm32 official) core (not roger's one) you can configure your mcu any way you wish by overriding weak SystemClock_Config with cumbemx generated where you can play with clock parameters https://i.imgur.com/lrtWNS9....
by razvitm
Mon Apr 13, 2020 11:49 am
Forum: General discussion
Topic: STM32F103RCT6 on li-ion for a week
Replies: 10
Views: 7730

Re: STM32F103RCT6 on li-ion for a week

Eureka! I am running the STM32F103RCT6 at 4MHz and current consumption dropped to 8mA. I replaced the external 8MHz crystal with a 4MHz one. I modified the file: c:\Users\Razvan\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F1\2020.3.13\variants\generic_stm32f103r\wirish\boards_setup.cpp...

Go to advanced search