View Code? Open in Web Editor
NEW
This project forked from nimaltd/spif
w25qxx SPI FLASH driver for stm32 HAL
License: GNU General Public License v3.0
w25qxx's Introduction
W25QXX SPI FLASH Library for STM32
![ko-fi](https://camo.githubusercontent.com/552bca7ad4a634b3ee2168758c2e3d288e786d2185d77c2892bcdee7f8a53df8/68747470733a2f2f7777772e6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667)
- 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.
w25qxx's People
Contributors