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 .
SPI port drive Windbond w25 q32
Re: SPI port drive Windbond w25 q32
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 .
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 .
-
- Posts: 505
- Joined: Fri Dec 27, 2019 4:53 pm
- Location: Munich, Germany
- Contact:
Re: SPI port drive Windbond w25 q32
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)
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 744 times
Re: SPI port drive Windbond w25 q32
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 .
-
- Posts: 505
- Joined: Fri Dec 27, 2019 4:53 pm
- Location: Munich, Germany
- Contact:
Re: SPI port drive Windbond w25 q32
Try this one:
This is set to use SPI1 and chip select pin PA4.Re: SPI port drive Windbond w25 q32
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 .