Skip to main content
olivier.scalbert
Associate III
August 27, 2021
Question

Octo-SPI memory-mapped mode speed for H735

  • August 27, 2021
  • 2 replies
  • 862 views

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

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
August 27, 2021

>>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 VenmoUp vote any posts that you find helpful, it shows what's working..
olivier.scalbert
Associate III
August 27, 2021

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.