cancel
Showing results for 
Search instead for 
Did you mean: 

how to allocate QSPI memory for structure variables?

Mani1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Mani1
Associate II

This is very helpful for me. Thanks