2021-08-27 02:20 AM
Hi,
We are using the OCTOSPI2 on a H735 in memory map mode.
We are copying 32 bits values one by one, from the internal RAM to the Octo memory.
We transfer around 5000 x 32 bits in 2ms which is around 10MB/s.
I think, it is a bit slow. What is the maximum speed we could achieve ?
Perhaps we have done a mistake in the different clocks or GPIOs settings ?
All advice is welcomed !
Have a nice day and week-end !
Olivier
2021-08-27 05:58 AM
>>Perhaps we have done a mistake in the different clocks or GPIOs settings ?
Sorry, don't see any of that detail, or the specific board/parts involved.
Perhap start by printing out the ClockPrescaler and bus speeds?
printf("%3d MHz\n", (HAL_RCC_GetHCLKFreq() / OSPIHandle.Init.ClockPrescaler) / 1000000);
2021-08-27 06:04 AM
Thanks,
Sorry, I have not the code here as I am on holidays !
:-)
What is the maximum speed transfert I can get with memory-mapped IO ?
We are using the STM32H735G-DK board.