非常难得的中文手册,比电脑直译的那种好了不知道几百倍。
2022-03-18 10:26:58 2.36MB w25 w25q128 w25q64 中文
1
华邦串行FLASH W25X40 读写程序范例 适合使用该存储芯片的同学参考
2021-11-19 18:59:53 13KB W25 华邦 读写程序
1
华邦W25系列SPI FLASH读写C语语言动源码(单片机),已在STM32单片机调试测试,可以做为你的学习设计参考。 ain.c文件: #include "stm32f10x_it.h" #include"hw_conf.h" #include "spi_flash.h" void delay(int d); u8 DataByte=0; u8 Tx_Buffer[] = {0x72,0x62,0x02,0x78,0x60,0x96,0x86,0x79,0x85,0x24,0x36,0x48}; u8 Rx_Buffer[BufferSize]; vu32 FLASH_ID = 0; int main(void) { #ifdef DEBUG debug(); #endif Setup_System(); SPI_FLASH_Init(); //SPI_FLASH_ByteWrite(0x72, 0x01F01F); //DataByte = SPI_FLASH_ByteRead(0x01F01F); //DataByte = SPI_Flash_ReadStatusRegister(); //SPI_FLASH_SectorErase(0x01F01F); //SPI_FLASH_BulkErase(0x01F01F); //SPI_FLASH_ChipErase(); //DataByte = SPI_FLASH_FasttRead(0x01F01F); //DataByte = SPI_Flash_ReadStatusRegister(); //DataByte = SPI_FLASH_ReadDeviceID(); //SPI_FLASH_ReadManuID_DeviceID(0x000000); //SPI_FLASH_ReadJedecID(); SPI_FLASH_PageWrite(Tx_Buffer, 0x01F01F, 10); SPI_FLASH_BufferRead(Rx_Buffer, 0x01F01F, 4); while (1) { if(Rx_Buffer[0]==0x72) { GPIO_WriteBit(GPIOC,GPIO_Pin_6,(BitAction)(1-GPIO_ReadOutputDataBit(GPIOC,GPIO_Pin_6))); delay(100); } if(Rx_Buffer[1]==0x62) { GPIO_WriteBit(GPIOC,GPIO_Pin_7,(BitAction)(1-GPIO_ReadOutputDataBit(GPIOC,GPIO_Pin_7))); delay(100); } if(Rx_Buffer[2]==0x02) { GPIO_WriteBit(GPIOC,GPIO_Pin_4,(BitAction)(1-GPIO_ReadOutputDataBit(GPIOC,GPIO_Pin_4))); delay(100); } if(Rx_Buffer[3]==0x78) { GPIO_WriteBit(GPIOC,GPIO_Pin_5,(BitAction)(1-GPIO_ReadOutputDataBit(GPIOC,GPIO_Pin_5))); delay(100); } } }
华邦W25x系列Flash存储芯片驱动程序,我用stm32单片机的SPI功能已经调试成功,现将该驱动程序上传,以便大家一起互相学习交流,QQ1342456650.
2021-05-24 21:55:56 13KB W25系列Flash 驱动程序
1
EEPROM与FLASH(W25)芯片手册对比.rar
2021-02-05 12:04:25 990KB 嵌入式 flash stm32
1