Skip to main content
Mani1
Associate III
May 22, 2021
Solved

how to allocate QSPI memory for structure variables?

  • May 22, 2021
  • 2 replies
  • 708 views

Board : STM32F469I

I created a project via cubemx. how to use QSPI memory for structure variables. I am struggled for this issue.

Thanks

D. Manikandan

This topic has been closed for replies.
Best answer by Imen.D

Hello @Mani​ ,

What is the type of QSPI memory ?

Please precise what do you expect exactly as result?

As I understood your need to change variable in the external QSPI memory.

So, you can follow and get inspired from QSPI_perfs example within X-CUBE-PERF-H7, it is based on STM32H7 , but you can update it according to your needs.

But for your information: QSPI cannot support memory mapped write.

The Memory-mapped mode is used in below cases:

• For reading operations

• For code execution from external Quad-SPI Flash memory

You can also refer to this AN4760 Application note Quad-SPI interface on STM32 microcontrollers and microprocessors.

Imen

2 replies

Imen.DBest answer
ST Technical Moderator
June 9, 2021

Hello @Mani​ ,

What is the type of QSPI memory ?

Please precise what do you expect exactly as result?

As I understood your need to change variable in the external QSPI memory.

So, you can follow and get inspired from QSPI_perfs example within X-CUBE-PERF-H7, it is based on STM32H7 , but you can update it according to your needs.

But for your information: QSPI cannot support memory mapped write.

The Memory-mapped mode is used in below cases:

• For reading operations

• For code execution from external Quad-SPI Flash memory

You can also refer to this AN4760 Application note Quad-SPI interface on STM32 microcontrollers and microprocessors.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Mani1
Mani1Author
Associate III
June 17, 2021

This is very helpful for me. Thanks