Search found 12 matches

by vlad
Wed Oct 27, 2021 3:05 pm
Forum: IDE's
Topic: Does code on Arduino IDE run faster than CubeIDE?
Replies: 9
Views: 6354

Re: Does code on Arduino IDE run faster than CubeIDE?

SOLVED!!! Thank you @djix123. It wasn't clear on documentation that I should use PLL clock instead of HSI on MCU. After some adjustments on MX, processing speed is now close to what I should expected. I'll try also the suggestions from @fpiSTM and the cache setup.
Best regards from Brazil.
by vlad
Tue Oct 26, 2021 6:13 pm
Forum: IDE's
Topic: Does code on Arduino IDE run faster than CubeIDE?
Replies: 9
Views: 6354

Re: Does code on Arduino IDE run faster than CubeIDE?

Looks like the CubeIDE has an option setting to turn on the FPU in: Project properties -> C/C++ Build -> Settings -> Tool Settings -> MCU Settings per: https://community.st.com/s/question/0D50X0000AqtFO5/how-to-turn-on-fpu-in-the-new-stm32cubeide I've not tried it myself (use VSC / PlatformIO). [As...
by vlad
Mon Oct 25, 2021 2:35 pm
Forum: IDE's
Topic: Does code on Arduino IDE run faster than CubeIDE?
Replies: 9
Views: 6354

Re: Does code on Arduino IDE run faster than CubeIDE?

ag123 wrote: Mon Oct 25, 2021 2:14 am stm32duino(s) turns on the FPU, that's probably why
And that means that CubeIDE doesn't turn it on by default?
by vlad
Mon Oct 25, 2021 12:36 am
Forum: General discussion
Topic: Fast ADC and DAC on Arduino required
Replies: 7
Views: 3967

Re: Fast ADC and DAC on Arduino required

In reply of mrburnette and ag123, I'd like to thank you all for your helpful hints. I'll examine them carefully. About the problems I found on CubeIDE, I just made a post on IDE forum: viewtopic.php?f=18&t=1342
by vlad
Mon Oct 25, 2021 12:28 am
Forum: IDE's
Topic: Does code on Arduino IDE run faster than CubeIDE?
Replies: 9
Views: 6354

Does code on Arduino IDE run faster than CubeIDE?

Hi there I was developing a project on Arduino using a generic STM32H743VIT board. Due some drawbacks of the Arduino library, mainly concerning to ADC and time interrupts, I decided to change to STM32CubeIDE, that supposedly should be more efficient in utilizing the processor resources. After succes...
by vlad
Sun Oct 24, 2021 11:44 pm
Forum: General discussion
Topic: Fast ADC and DAC on Arduino required
Replies: 7
Views: 3967

Re: Fast ADC and DAC on Arduino required

Recently I found an example on net that shows a time interrupt function based on HardwareTimer, that worked as expected on DB. On the other side, the Arduino’s analogRead is ridiculously slow, taking 40% of processing time, and 3% of analogWrite. Opinion and generalized observation: Too many Arduin...
by vlad
Thu Oct 21, 2021 10:18 pm
Forum: General discussion
Topic: Fast ADC and DAC on Arduino required
Replies: 7
Views: 3967

Fast ADC and DAC on Arduino required

Hi guys Since my last post here (https://www.stm32duino.com/viewtopic.php?f=7&t=986) I’ve been working on a solution for the lack of memory issue that I need for program storage. Initially working with Daisy Seed (DS), I realized that the available 128 Kb of STM32H750IB processor wasn’t enough. ...
by vlad
Sat Apr 10, 2021 3:25 pm
Forum: General discussion
Topic: LTO linker option
Replies: 20
Views: 9916

Re: LTO linker option

Thank you very much, guys. There's a lot of useful info and it seems that I'll have a lot of work to test each one. ag123 suggested that I'd eventually could change to STM32H743 in this link: https://www.aliexpress.com/item/1005001700815862.html but it seems that Arduino IDE does not have support fo...
by vlad
Thu Apr 01, 2021 7:33 pm
Forum: General discussion
Topic: LTO linker option
Replies: 20
Views: 9916

Re: LTO linker option

On comment of mrburnette, my app is not a blank sketch. In Arduino IDE it takes 162KB. It basically is a set of 15 guitar effects that I can combine in any sequence, and in any number (although only one instance of each). Besides that, the effects are configurable through serial line commands (each ...
by vlad
Thu Apr 01, 2021 3:11 pm
Forum: General discussion
Topic: LTO linker option
Replies: 20
Views: 9916

Re: LTO linker option

According to ElectroSmith, Daisy Seed uses a STM32H750, with 128KB flash, 480MHz. I'm not storing to much data on code, but yes, there are some string data to help user communication. I'm just trying to manually optimize the code, but as far as I can go is 1 or 2KB, still far away from the 19K. Sinc...

Go to advanced search