SkillAgentSearch skills...

Spif

W25qxx, N25Qxx and other SPI FLASH driver for stm32 HAL

Install / Use

/learn @nimaltd/Spif

README

SPI FLASH Library for STM32


Please Do not Forget to get STAR, DONATE and support me on social networks. Thank you. :sparkling_heart:


  • Author: Nima Askari
  • Github: https://www.github.com/NimaLTD
  • Youtube: https://www.youtube.com/@nimaltd
  • LinkedIn: https://www.linkedin.com/in/nimaltd
  • Instagram: https://instagram.com/github.NimaLTD

  • I have tested on w25q64. please test other devices and tell me.

  • Install Library from https://github.com/nimaltd/STM32-PACK/raw/main/SPIF/NimaLTD.I-CUBE-SPIF.pdsc
  • Add and enable it.
  • Enable SPI and a GPIO as output-pushpull (CS pin).Connect WP and HOLD to VCC.
  • Select 'Generate peripheral initialization as a pair of .c/.h files per peripheral' on the Code Generator Tab.
  • Generate Code.
  • Define a structure of SPIF_HandleTypeDef.
  • Call SPIF_Init() and enjoy.

Watch the Video:

<div align="center"> <a href="https://www.youtube.com/watch?v=_baNId6cDi4"><img src="https://img.youtube.com/vi/_baNId6cDi4/0.jpg" alt="Video"></a> </div>

The old Version: https://github.com/nimaltd/SPIF/archive/refs/tags/1.20.0.zip

Related Skills

View on GitHub
GitHub Stars696
CategoryDevelopment
Updated10d ago
Forks179

Languages

C

Security Score

85/100

Audited on Mar 19, 2026

No findings