Skip to main content
Paolo Andreuzza
Associate III
June 23, 2020
Question

Run code from ram improve the performances?

  • June 23, 2020
  • 12 replies
  • 4615 views

Hallo.

In other mcu (not ARM) i’ve worked in the past, there were possibe to move some parts of time critical code to ram, and run them from there to get the best performance, since the flash mamory access were slower then the ram access.

In STM32 mcu this tecnique gives real advantages in performance?

I've seen that some STM32 mcu (but not all) have specific hardware to improve flash access speed (ART Accelerator...), om these platform, running code from ram improves even more the performances or is not a good idea?

In particular, In STM32G070, that seems to don't have any specific hardware for flash management, running code from ram does improve significantly the performances, or is it not worth?

Thank you in advance.

Paolo

This topic has been closed for replies.

12 replies

Paolo Andreuzza
Associate III
June 24, 2020

thank you all