-
Enable SPIs and a GPIOs as output (CS pin).Connect WP and HOLD to VCC.
-
Select software CS pin.
-
Config
w25qxxConf.h
. -
Define one descriptor of type
w25qxx_peripheral
for each W25QXX SPI flash in your project -
Call
W25qxx_Init()
on each descriptor defined -
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.
forked from nimaltd/spif
-
Notifications
You must be signed in to change notification settings - Fork 0
w25qxx SPI FLASH driver for stm32 HAL
License
DanieleNardi/w25qxx
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
w25qxx SPI FLASH driver for stm32 HAL
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 100.0%