cancel
Showing results for 
Search instead for 
Did you mean: 

Connectivity to external NOR Flash Memory using DMA of STM32F446RE

DCont.1
Associate II

Hi,

Am trying to correctly connect to my external NOR flash memory using my STM32F446RE's DMA.

Am not sure how to go about this and the libraries I have tried are not working at all.

Here's a link to the library I tried to test the connectivity between my STM32 and my Flash Memory. I wasn't able to get it working.

https://github.com/nimaltd/w25qxx

Additionally, here's the link to the datasheet of the NOR flash memory am using:

https://datasheet.lcsc.com/szlcsc/Winbond-Elec-W25Q128JVFIQ_C111478.pdf

The connection scheme I have going on right now is using standard SPI

SPI1_SCK - CLK

SPI1_MISO - DO

SPI1_MISO - DI

(FLASH_CS is a GPIO Output)

FLASH_CS - CS

1 REPLY 1

https://community.st.com/s/question/0D53W00001BxSRFSA3/resources-for-spi-connection-to-external-flash-memory

If you can't debug the code you have, or relate this and perhaps other examples to the intent conveyed in the data-sheet you're in trouble.

DMA isn't going to help here, only complicate things.

I don't think anyone's going to custom code a worked solution here.

So you probably need to start with getting some basic SPI code working, and then a relatively simple interaction with the READ ID type command. Then build upon that.

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