- 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.
The old Version: https://github.com/nimaltd/SPIF/archive/refs/tags/1.20.0.zip