Skip to content

AbdullahJalloul/w25qxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

W25QXX SPI FLASH Library for STM32


I hope use it and enjoy.
I use Stm32f407vg and Keil Compiler and Stm32CubeMX wizard.
Please Do This ...

1) Enable SPI and a Gpio as output(CS pin).Connect WP and HOLD to VCC.
2) Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings.
3) Config "w25qxxConfig.h".
4) Call W25qxx_Init().
5) After init, you can watch w25qxx struct.(Chip ID,page size,sector size and ...)
6) In Read/Write Function, you can put 0 to "NumByteToRead/NumByteToWrite" parameter to maximum.
7) Dont forget to erase page/sector/block before write.

About

w25qxx SPI FLASH driver for stm32 HAL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages