Skip to main content
Charlie CHEN
Associate III
May 29, 2019
Question

STM32H743 QSPI FLASH

  • May 29, 2019
  • 3 replies
  • 2738 views

Hi all,

Recently, I build a project with TouchGFX for STM32H743,and the total files are more than 2MB,so I have to use external flash memory(W25Q256).

Then, I am trying to use QSPI interface to connect external memory and execute in interrupt method.

But I have no ideal how to build the function,can any one help me or provide source code?

By the way, I have already added the algorithm about W25Q256,and the other initialize was done , backlight was turned on.

Thanks!

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
May 29, 2019

If the QSPI device has been mapped into the STM32 address space it should be readable like any other memory.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Charlie CHEN
Associate III
May 30, 2019

@Community member​ 

Thanks for your reply!

I have already read data from first address,and it was correct but I don`t know how to build the interrupt function .

Is there any suggestion or reference?

Thanks!

Andreas Bolsch
Lead III
May 30, 2019

E. g. demonstration firmware for STM32F746G-Disco usese QSPI flash. Take a look at the sources, loader files etc. The QSPI interface in F7 and H7 is (almost) identical from software point of view.

Charlie CHEN
Associate III
May 30, 2019

Hi @Andreas Bolsch​ ,

Thanks for your reply!

Do you mean this one in CubeMX?

And I have browsed source code in project,then it was built with TouchGFX but just like the same code what I build .

I didn`t find any function different,Am I find the wrong file?

0690X000008aDVpQAM.png

Thanks!

Andreas Bolsch
Lead III
May 30, 2019

STM32Cube_FW_F7_V1.15.0/Projects/STM32746G-Discovery/Demonstrations/STemWin

contains the QSPI code and linker scripts.

Charlie CHEN
Associate III
May 30, 2019

I find out.

But why it does not add the algorithm at flash memory?

Is it no need to add in?

Andreas Bolsch
Lead III
May 30, 2019

What do you mean by "But why ..."