Skip to content

nimaltd/spif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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