stm32 Adaptive Real-Time accelerator

For general Flowcode discussion that does not belong in the other sections.
Post Reply
mkopitovic
Posts: 16
http://meble-kuchenne.info.pl
Joined: Sun Dec 13, 2020 9:15 pm
Has thanked: 1 time
Been thanked: 5 times

stm32 Adaptive Real-Time accelerator

Post 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

LeighM
Valued Contributor
Posts: 489
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 83 times
Been thanked: 262 times

Re: stm32 Adaptive Real-Time accelerator

Post 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();

Post Reply