CM4 core executes slower on Flash Bank 1 than Flash Bank 2 in STM32H757
I am using STM32H757 dual core chip and default configuration of cubeMX generates the projects in such a way that CM7 core executes from Flash Bank1 and CM4 core executes from Flash Bank2.
I modified this behavior (to have Bootloader, config data etc) such that CM4 executes from Flash Bank1 and CM7 executes from Flash Bank2 But the result is unexpected. The execution time of one my most time critical function (that executes in an ISR context) changed from 140us to 375us.
Can some one comment on this that what would be the reason. If i look at the Memory organization, i can see that both Flash Banks (1 and 2) are in D1 domain. and CM4 core is in D2 domain. Any help would be appreciated.
