STM32H7 why is Dcache faster than DTCMRAM ?
I am benchmarking Stm32h7 processor on floating point operations and using CYCCNT to measure the performance difference .
I placed my function in ITCM-RAM. which is just a function that does double math multiplication 10,000 times, the 4 variables used are declared volatile.
I placed my variables in RAM ( with D-cache disable) : CYCCNT = 216849
I placed my variables in RAM ( with D-cache enable) : CYCCNT = 104300
I placed my variables in DTCM-RAM ( with D-cache disabled/enabled same result) : CYCCNT = 115800
my question is why is DTCM slower than RAM1 with cache ??!!
