cancel
Showing results for 
Search instead for 
Did you mean: 

Octo-SPI memory-mapped mode speed for H735

olivier.scalbert
Associate III

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

2 REPLIES 2

>>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);

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
olivier.scalbert
Associate III

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.