2020-04-06 02:58 AM
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
2020-04-07 08:04 AM
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.
2020-04-07 08:16 AM
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
2020-04-08 02:01 AM
Hi Kevin,
I'm trying to open the link but it not do anything
2020-04-08 04:30 AM
That's on his local hard drive, you'll need to look at the CubeL4 repository as you set it up on your system.
2020-04-08 08:18 AM
Thanks, it's been so helpful