文件名称:spi
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- reo****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
STC89C58软件实现SPI口做主机,STC12C4052的SPI口设为从机.实现双CPU通信.由主机从SPI口发送0x55,从机SPI口接收到数据后+10=0x5f,从SPI口发送回主机.主机接收后发到串口.串口助手观察接收数据.程度通过keil c51调试并下载到STC晶片运行.-SPI software STC89C58 realize I make the host, STC12C4052 the SPI port is set to slave. Realize dual-CPU communication. By the host from the SPI port to send 0x55, slave SPI port to receive data+ 10 = 0x5f, I sent back from the SPI Host . host after receiving the serial port. Serial receive data assistants observed. Extent through the debug and download keil c51 to STC chip run.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文件夹
..........\mast_spi.c
..........\slave_spi.c
..........\mast_spi.c
..........\slave_spi.c