2019-01-14 12:24 AM
The Keil example 'EXTI project' is a simple program for the STM32F103RBT6 MCU. Here, the following statements are executed:
#define __EFI_ACR_Val 0x00000012
/*----------------------------------------------------------------------------
STM32 embedded Flash interface setup.
initializes the ACR register
*----------------------------------------------------------------------------*/
__inline static void stm32_EfiSetup (void) {
FLASH->ACR = __EFI_ACR_Val; // set access control register
}
I use the STM32F107VCT6 MCU with SYSCLK at 72MHz and do NOT execute any such "FLASH->ACR" statement/assignment. But everything seems to perform well nevertheless...
Must (or should) I add such a configuration of the Flash access control register (FLASH_ACR)? Will it slow down the general performance?
I hope some clerification to this matter.
BR Terje Bøhler