Comparing Nucleo-H743ZI2 and Nucleo-H745ZI-Q
I've written some code in STM32CubeIDE for the Nucleo-H743 which is simply toggling the board's LEDs and using the SPI channels to tx/rx with a few A/D converters. I've measured the loop's time to execute with a scope to be ~20us.
I also have a Nucleo-H745 and set up the M7 core (since this is dual core) with the same code, paying close attention to the clock setup ensuring the speeds for the core and the peripherals all matched the H743 board's setup. Running that same code, I see a loop time of ~150us.
From a high level point of view, the M7 core for each of these boards look to have the same capabilities so I would expect a closer match which is obviously not the case. Double checking the compiler was configured the same for both projects, I'm at a loss why there is such a difference.