STM8S005K6与W25Qxx系列Flash的硬件SPI代码

上传者: owenli520 | 上传时间: 2022-04-24 15:28:29 | 文件大小: 1.33MB | 文件类型: ZIP
基于IAR STM8 2.10开发环境,STM8S005K6单片机,采用硬件SPI通信,能读写华邦W25Qxx系列Flash,包含读、写、擦除扇区、擦除块等操作,已测试成功,含完整工程文件。

文件下载

资源详情

[{"title":"( 96 个子文件 1.33MB ) STM8S005K6与W25Qxx系列Flash的硬件SPI代码","children":[{"title":"STM8S005K6_W25Qxx_SPI","children":[{"title":"STM8S005K6_W25Qxx_SPI.IAB <span style='color:#111;'> 196.00KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.PS <span style='color:#111;'> 345.68KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.PR <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Obj","children":[{"title":"main.o <span style='color:#111;'> 12.95KB </span>","children":null,"spread":false},{"title":"stm8s_gpio.o <span style='color:#111;'> 22.40KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.pbd.browse <span style='color:#111;'> 406.15KB </span>","children":null,"spread":false},{"title":"stm8s_spi.pbi <span style='color:#111;'> 330.45KB </span>","children":null,"spread":false},{"title":"stm8s_clk.o <span style='color:#111;'> 53.65KB </span>","children":null,"spread":false},{"title":"stm8s_gpio.pbi <span style='color:#111;'> 323.53KB </span>","children":null,"spread":false},{"title":"main.pbi.cout <span style='color:#111;'> 10.27KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.pbd <span style='color:#111;'> 406.15KB </span>","children":null,"spread":false},{"title":"main.pbi <span style='color:#111;'> 353.80KB </span>","children":null,"spread":false},{"title":"Flash_25Q16.pbi <span style='color:#111;'> 369.47KB </span>","children":null,"spread":false},{"title":"stm8s_clk.pbi.cout <span style='color:#111;'> 10.29KB </span>","children":null,"spread":false},{"title":"stm8s_clk.pbi <span style='color:#111;'> 340.13KB </span>","children":null,"spread":false},{"title":"stm8s_spi.pbi.cout <span style='color:#111;'> 10.29KB </span>","children":null,"spread":false},{"title":"Flash_25Q16.o <span style='color:#111;'> 34.85KB </span>","children":null,"spread":false},{"title":"stm8s_gpio.pbi.cout <span style='color:#111;'> 10.29KB </span>","children":null,"spread":false},{"title":"Flash_25Q16.pbi.cout <span style='color:#111;'> 10.28KB </span>","children":null,"spread":false},{"title":"stm8s_spi.o <span style='color:#111;'> 37.45KB </span>","children":null,"spread":false}],"spread":false},{"title":"List","children":[{"title":"STM8S005K6_W25Qxx_SPI.map <span style='color:#111;'> 16.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"Exe","children":[{"title":"STM8S005K6_W25Qxx_SPI.out <span style='color:#111;'> 63.11KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"STM8S005K6_W25Qxx_SPI.IMB <span style='color:#111;'> 48.00KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.WK3 <span style='color:#111;'> 24.32KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.ewt <span style='color:#111;'> 940B </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.PFI <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.IMD <span style='color:#111;'> 808B </span>","children":null,"spread":false},{"title":"user","children":[{"title":"inc","children":[{"title":"def.h <span style='color:#111;'> 741B </span>","children":null,"spread":false},{"title":"Flash_25Q16.h <span style='color:#111;'> 681B </span>","children":null,"spread":false},{"title":"port_def.h <span style='color:#111;'> 796B </span>","children":null,"spread":false},{"title":"stm8s_conf.h <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false}],"spread":true},{"title":"Src","children":[{"title":"Flash_25Q16.c <span style='color:#111;'> 10.26KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"STM8S005K6_W25Qxx_SPI.PO <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.ewp <span style='color:#111;'> 43.37KB </span>","children":null,"spread":false},{"title":"STM8S_StdPeriph_Driver","children":[{"title":"inc","children":[{"title":"stm8s_tim5.h <span style='color:#111;'> 19.56KB </span>","children":null,"spread":false},{"title":"stm8s_spi.h <span style='color:#111;'> 12.89KB </span>","children":null,"spread":false},{"title":"stm8s_clk.h <span style='color:#111;'> 16.70KB </span>","children":null,"spread":false},{"title":"stm8s_tim3.h <span style='color:#111;'> 12.75KB </span>","children":null,"spread":false},{"title":"stm8s_uart3.h <span style='color:#111;'> 15.08KB </span>","children":null,"spread":false},{"title":"stm8s_can.h <span style='color:#111;'> 25.13KB </span>","children":null,"spread":false},{"title":"stm8s_tim6.h <span style='color:#111;'> 9.44KB </span>","children":null,"spread":false},{"title":"stm8s_iwdg.h <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"stm8s_beep.h <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"stm8s_flash.h <span style='color:#111;'> 13.69KB </span>","children":null,"spread":false},{"title":"stm8s_wwdg.h <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"stm8s_uart4.h <span style='color:#111;'> 18.74KB </span>","children":null,"spread":false},{"title":"stm8s_tim4.h <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false},{"title":"stm8s_rst.h <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"stm8s_uart1.h <span style='color:#111;'> 16.28KB </span>","children":null,"spread":false},{"title":"stm8s_uart2.h <span style='color:#111;'> 18.74KB </span>","children":null,"spread":false},{"title":"stm8s_tim1.h <span style='color:#111;'> 26.24KB </span>","children":null,"spread":false},{"title":"stm8s_adc2.h <span style='color:#111;'> 11.34KB </span>","children":null,"spread":false},{"title":"stm8s.h <span style='color:#111;'> 119.14KB </span>","children":null,"spread":false},{"title":"stm8s_tim2.h <span style='color:#111;'> 13.89KB </span>","children":null,"spread":false},{"title":"stm8s_exti.h <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false},{"title":"stm8s_adc1.h <span style='color:#111;'> 14.81KB </span>","children":null,"spread":false},{"title":"stm8s_i2c.h <span style='color:#111;'> 27.21KB </span>","children":null,"spread":false},{"title":"stm8s_awu.h <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"stm8s_itc.h <span style='color:#111;'> 7.40KB </span>","children":null,"spread":false},{"title":"stm8s_gpio.h <span style='color:#111;'> 6.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"stm8s_adc2.c <span style='color:#111;'> 13.09KB </span>","children":null,"spread":false},{"title":"stm8s_spi.c <span style='color:#111;'> 13.64KB </span>","children":null,"spread":false},{"title":"stm8s_iwdg.c <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"stm8s_beep.c <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false},{"title":"stm8s_tim4.c <span style='color:#111;'> 11.93KB </span>","children":null,"spread":false},{"title":"stm8s_awu.c <span style='color:#111;'> 6.26KB </span>","children":null,"spread":false},{"title":"stm8s_tim1.c <span style='color:#111;'> 82.41KB </span>","children":null,"spread":false},{"title":"stm8s_exti.c <span style='color:#111;'> 5.75KB </span>","children":null,"spread":false},{"title":"stm8s_itc.c <span style='color:#111;'> 10.79KB </span>","children":null,"spread":false},{"title":"stm8s_clk.c <span style='color:#111;'> 21.23KB </span>","children":null,"spread":false},{"title":"stm8s_rst.c <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"stm8s_uart1.c <span style='color:#111;'> 25.15KB </span>","children":null,"spread":false},{"title":"stm8s_adc1.c <span style='color:#111;'> 22.17KB </span>","children":null,"spread":false},{"title":"stm8s_tim6.c <span style='color:#111;'> 14.60KB </span>","children":null,"spread":false},{"title":"stm8s_flash.c <span style='color:#111;'> 25.41KB </span>","children":null,"spread":false},{"title":"stm8s_can.c <span style='color:#111;'> 45.49KB </span>","children":null,"spread":false},{"title":"stm8s_tim5.c <span style='color:#111;'> 48.42KB </span>","children":null,"spread":false},{"title":"stm8s_wwdg.c <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"stm8s_uart3.c <span style='color:#111;'> 22.78KB </span>","children":null,"spread":false},{"title":"stm8s_uart2.c <span style='color:#111;'> 27.43KB </span>","children":null,"spread":false},{"title":"stm8s_uart4.c <span style='color:#111;'> 27.91KB </span>","children":null,"spread":false},{"title":"stm8s_tim2.c <span style='color:#111;'> 44.89KB </span>","children":null,"spread":false},{"title":"stm8s_tim3.c <span style='color:#111;'> 35.98KB </span>","children":null,"spread":false},{"title":"stm8s_gpio.c <span style='color:#111;'> 8.20KB </span>","children":null,"spread":false},{"title":"stm8s_i2c.c <span style='color:#111;'> 31.87KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"settings","children":[{"title":"STM8S005K6_W25Qxx_SPI.wsdt <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.dbgdt <span style='color:#111;'> 7.49KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.dni <span style='color:#111;'> 947B </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.Debug.cspy.bat <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.wspos <span style='color:#111;'> 51B </span>","children":null,"spread":false}],"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.eww <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.IAD <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.PRI <span style='color:#111;'> 24.22KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.dep <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false},{"title":"STM8S005K6_W25Qxx_SPI.ewd <span style='color:#111;'> 12.34KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • guobin544073472 :
    不错,测试OK,谢谢
    2020-05-05
  • a13306058739 :
    不错不错不错
    2018-06-04
  • z1023944791 :
    不错,研究下,谢谢楼主了
    2018-01-17
  • louis_95 :
    感谢楼主哦
    2017-07-18
  • dlldz :
    正好在弄stm8s读取spi flash的东东,多谢楼主。
    2017-05-20

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明