cancel
Showing results for 
Search instead for 
Did you mean: 

How to r/w data on flash via spi/qspi?

JThas.1
Associate II

I want to read and write data from Flash via spi. I try some tutorial, He tell me to config and use some library.I do it but it don't work.

MCU:STM32L496ZGT6

Flash: S25FL128LAGMFB010

1 ACCEPTED SOLUTION

Accepted Solutions

STM32Cube_FW_L4_V1.14.0\Projects\STM32L476G-EVAL\Examples\QSPI\QSPI_ReadWrite_IT 

STM32Cube_FW_L4_V1.14.0\Projects\32L496GDISCOVERY\Examples\QSPI\QSPI_ExecuteInPlace  

STM32Cube_FW_L4_V1.14.0\Drivers\BSP\Components\mx25r6435f 

STM32Cube_FW_L4_V1.14.0\Drivers\BSP\Components\n25q128a 

STM32Cube_FW_L4_V1.14.0\Drivers\BSP\STM32L496G-Discovery\stm32l496g_discovery_qspi.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

5 REPLIES 5
Piranha
Chief II

So you watched some tutorial, took some library, configured something and something didn't work? Then here is the answer - something is wrong and you have to fix it!

I know I must fix it. I try to fix it but I still not working. Can you give me some tutorial for do it?

Then you must fix something else. Just watch some video about it!

Perhaps link to the tutorial you followed.

You have a NUCLEO board, or some other random board?

How is this wired up?

What does the software look like currently?

Doesn't work is a very empty explanation, there are a myriad of possible reasons.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

STM32Cube_FW_L4_V1.14.0\Projects\STM32L476G-EVAL\Examples\QSPI\QSPI_ReadWrite_IT 

STM32Cube_FW_L4_V1.14.0\Projects\32L496GDISCOVERY\Examples\QSPI\QSPI_ExecuteInPlace  

STM32Cube_FW_L4_V1.14.0\Drivers\BSP\Components\mx25r6435f 

STM32Cube_FW_L4_V1.14.0\Drivers\BSP\Components\n25q128a 

STM32Cube_FW_L4_V1.14.0\Drivers\BSP\STM32L496G-Discovery\stm32l496g_discovery_qspi.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..