# w25qxx **Repository Path**: BUAAprocess/w25qxx ## Basic Information - **Project Name**: w25qxx - **Description**: w25qxx SPI FLASH driver for stm32 HAL - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 2 - **Created**: 2021-03-26 - **Last Updated**: 2024-04-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## W25QXX SPI FLASH Library for STM32 * http://www.github.com/NimaLTD * https://www.instagram.com/github.nimaltd/ * https://www.youtube.com/channel/UCUhY7qY1klJm1d2kulr9ckw 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 `w25qxxConf.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.