Skip to main content
JSanz.1
Associate III
April 6, 2020
Question

where can I get STM32L431 QUADSPI memory controller reference design

  • April 6, 2020
  • 3 replies
  • 741 views

All do I need is how to initialize, erase, read and write (block and single data) the QUADSPI memory for STM32CubeIDE platform.

Thanks in advance

This topic has been closed for replies.

3 replies

KevinA
Senior
April 7, 2020

I moved my 'Repository' from the default location to my USB3.2 12TB drive:

D:\STM32CubeIDE_1.2.0\Repository\STM32Cube_FW_L4_V1.15.1\Projects\32L496GDISCOVERY\Examples\QSPI

The code is for stm32L4xx

I'm doing a L432kc and L452ce, both use QSPI for storage.

Tesla DeLorean
Guru
April 7, 2020

For WHAT specific memory device, they are all a bit different, and have data sheets explaining the commands/expectations.

ST has some example code in the \Driver\BSP section of the repository, and L4 EVAL\DISCO boards. Check schematics as needed

Repository\STM32Cube_FW_L4_V1.15.1\Drivers\BSP\Components\n25q256a\n25q256a.h

Repository\STM32Cube_FW_L4_V1.15.1\Drivers\BSP\STM32L476G_EVAL\stm32l476g_eval_qspi.c

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
JSanz.1
JSanz.1Author
Associate III
April 8, 2020

Hi Kevin,

I'm trying to open the link but it not do anything

Tesla DeLorean
Guru
April 8, 2020

That's on his local hard drive, you'll need to look at the CubeL4 repository as you set it up on your system.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
JSanz.1
JSanz.1Author
Associate III
April 8, 2020

Thanks, it's been so helpful