Search found 26 matches

by razvitm
Wed Jun 17, 2020 11:10 am
Forum: STM32L0 based boards
Topic: Thunderpack STM32L072xx
Replies: 1
Views: 345

Thunderpack STM32L072xx

Hello everyone, I saw that there is a small development board that uses the MCU mentioned in the title, it can be found at the following link: https://hackaday.io/project/161054-thunder-pack Now on the webpage it says that it is supported by the STM32duino core. Could that mean that I could use a ST...
by razvitm
Thu May 21, 2020 12:29 pm
Forum: General discussion
Topic: Hardware flow control for USART2 port on STM32F103RC
Replies: 5
Views: 290

Re: Hardware flow control for USART2 port on STM32F103RC

Currently not. I guess the best way would be to add or extend API to be enable the hw flow control Well, can't someone modify the Serial.begin() function of the official STM32 arduino core to accept more input parameters that set HW flow control on or off? And also make it backwards compatible by a...
by razvitm
Thu May 21, 2020 12:06 pm
Forum: General discussion
Topic: Hardware flow control for USART2 port on STM32F103RC
Replies: 5
Views: 290

Re: Hardware flow control for USART2 port on STM32F103RC

Is there a more elegant way of enabling hardware flow control than editing a file in the core?
Like the way we can modify clock speed by copying some lines from what cubemx generates into the arduino sketch?
by razvitm
Thu May 21, 2020 11:54 am
Forum: General discussion
Topic: Hardware flow control for USART2 port on STM32F103RC
Replies: 5
Views: 290

Re: Hardware flow control for USART2 port on STM32F103RC

I just edited the file: c:\Users\Razvan\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.8.0\libraries\SrcWrapper\src\stm32\uart.c i modified line 308 as: huart->Init.HwFlowCtl = UART_HWCONTROL_RTS_CTS; Made a simple arduino sketch with some text printing on Serial2 in loop and hardware flow ...
by razvitm
Thu May 21, 2020 10:45 am
Forum: General discussion
Topic: Hardware flow control for USART2 port on STM32F103RC
Replies: 5
Views: 290

Hardware flow control for USART2 port on STM32F103RC

How can I enable hardware flow control RTS CTS in Arduino using the official ST core? If I configure STM32CubeMx for hardware flow control, in the generated files \src\stm32f1xx_hal_msp.c file, I see that it initializes the RTS CTS pins as output and input together with the RX and TX pins, I'll copy...
by razvitm
Wed May 06, 2020 2:09 pm
Forum: Ideas & suggestions
Topic: Options for a lot of cpu clock frequencies.
Replies: 10
Views: 657

Re: Options for a lot of cpu clock frequencies.

Works like a charm. Thank you a thousand!
by razvitm
Mon May 04, 2020 9:21 am
Forum: Ideas & suggestions
Topic: Options for a lot of cpu clock frequencies.
Replies: 10
Views: 657

Re: Options for a lot of cpu clock frequencies.

So I managed to run the MCU at 4MHz by looking into the cubemx generated files and copy-pasting the prescaler values in the stm32duino file: c:\Users\Razvan\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.8.0\variants\PILL_F103XX\variant.cpp I did this beause I couldn't figure out how to inc...
by razvitm
Sun May 03, 2020 12:31 pm
Forum: General discussion
Topic: Latest version 1.8.0 not working with example files.
Replies: 8
Views: 433

Re: Latest version not working with example files.

stas2z wrote:
Sun May 03, 2020 12:11 pm
https://github.com/stm32duino/STM32Exam ... llback.ino
For 1.8.0 core
This example compiles OK on the 1.8.0 core.
Thank you!
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: 433

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: 433

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?

Go to advanced search