- Enable SPI and a Gpio as output(CS pin).Connect WP and HOLD to VCC.
- Select
General peripheral Initalizion as a pair of '.c/.h' file per peripheral
on project settings. - Config
w25qxxConf.h
. - Call
W25qxx_Init()
. - After init, you can watch
w25qxx
struct.(Chip ID,page size,sector size and ...) - In Read/Write Function, you can put 0 to
NumByteToRead/NumByteToWrite
parameter to maximum. - Dont forget to erase page/sector/block before write.
matyan / w25qxx Goto Github PK
View Code? Open in Web Editor NEWThis project forked from nimaltd/spif
w25qxx SPI FLASH driver for stm32 HAL
License: GNU General Public License v3.0