SPI port drive Windbond w25 q32

Post here all questions related to LibMaple core if you can't find a relevant section!
Post Reply
madhavan
Posts: 29
Joined: Fri May 21, 2021 1:22 am

SPI port drive Windbond w25 q32

Post by madhavan »

hi ,

Trying to connect bluepill with 25q32 .

please suggest some good library with some example like a/d converter value into Flash Memory and Reading the same value since i am new .
madhavan
Posts: 29
Joined: Fri May 21, 2021 1:22 am

Re: SPI port drive Windbond w25 q32

Post by madhavan »

Arduino Having Library :
You can open it with Arduino IDE by navigating the examples in the menu File -> Examples -> Examples for Generic STM32F103C series -> SPI -> using_spi_ports.

But there is no examples for simple 8 bit , 16 bit &32 bit read & write , since i am new i couldn't do better .
I have googled and Checked forum but nothing is useful .
requesting somebody help .If somebody help it will be very helpful .
stevestrong
Posts: 502
Joined: Fri Dec 27, 2019 4:53 pm
Answers: 8
Location: Munich, Germany
Contact:

Re: SPI port drive Windbond w25 q32

Post by stevestrong »

Have a look into these files:
https://github.com/adafruit/Adafruit_SP ... er/src/spi
or here:
http://www.rinkydinkelectronics.com/dow ... Iflash.zip
or here:
https://github.com/nimaltd/w25qxx (in this case you have to replace the HAL function calls to corresponding libmaple functions)
Attachments
SPIFlash.zip
(5.85 KiB) Downloaded 325 times
madhavan
Posts: 29
Joined: Fri May 21, 2021 1:22 am

Re: SPI port drive Windbond w25 q32

Post by madhavan »

thanks .... every link is beyond my level . For my understanding i am requesting that need the simple code like ad convertor value must be store in flash memory and need to read the same value .
stevestrong
Posts: 502
Joined: Fri Dec 27, 2019 4:53 pm
Answers: 8
Location: Munich, Germany
Contact:

Re: SPI port drive Windbond w25 q32

Post by stevestrong »

Try this one:
STM32_SPIFlash.zip
(1.37 KiB) Downloaded 529 times
This is set to use SPI1 and chip select pin PA4.
madhavan
Posts: 29
Joined: Fri May 21, 2021 1:22 am

Re: SPI port drive Windbond w25 q32

Post by madhavan »

i am sorry .. still attachment file is giving compile error but i don't want confuse myself with memory device . at this movement i put hold or pause for this spi flash memory and i will do further development later .
Post Reply

Return to “General discussion”