Introduction - If you have any usage issues, please Google them yourself
Use C8051F040 hardware SPI port control FLASH chip AT45DB321, P0 of 0,1,2 for the 3-wire SPI configuration mouth, P6 of 0,1,2,3 software control of the state of pin AT45DB321
Packet : 67506271c8051f040-at45db321.rar filelist
YC8051F040.H
AT45DB321C.C
AT45DB321C.H
c8051F040.h
c8051f040CPU.h
main.c
SPI.c