Page 1 of 1

stm32 Adaptive Real-Time accelerator

Posted: Mon Sep 01, 2025 8:21 am
by mkopitovic
I am interested in the last item in the STM32F446 configuration list, FLASH_LTNCH. If I understand correctly, this setting is related to the Adaptive Real-Time accelerator and flash wait states. I am interested in knowing whether there is an explanation for how many wait states should be set. So far, I have left this field at its default value of 4. Also, does FlowCode generally activate the Adaptive Real-Time accelerator that the STM has?
Thanks in advance

Re: stm32 Adaptive Real-Time accelerator

Posted: Mon Sep 01, 2025 2:47 pm
by LeighM
You need to download the STM32F446 Reference Manual from st.com and have a look at page 66.
I don't think that the ART accelerator is enabled by default, but you can enable it with the following C code

Code: Select all

__HAL_FLASH_PREFETCH_BUFFER_ENABLE();