nimaltd / spif

W25qxx, N25Qxx and other SPI FLASH driver for stm32 HAL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPI FLASH Library for STM32


Please Do not Forget to get STAR, DONATE and support me on social networks. Thank you. đź’–



  • 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:

Video

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

About

W25qxx, N25Qxx and other SPI FLASH driver for stm32 HAL

License:GNU General Public License v3.0


Languages

Language:C 100.0%