文件名称:AVRspi
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- fanzh*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本人的一个SPI的实例,通过SPI实现两机通讯,
采用中断方式实现双全工通讯。
本例用两MEGA8515实现,连接为:
MISO----MISO
MOSI----MOSI
SCK ----SCK
/SS ----/SS
将要发送的数据加载到发送缓冲区的函数fill_tx_buffer
和从接收缓冲区读出数据的函数read_rx_buffer未给出,
根据各自需求请自己完成。 -I have a SPI example, through the realization of the two SPI communication using interrupt realize full-duplex communication. In this case two MEGA8515 realize, connect to: MISO MISO MOSI MOSI SCK SCK/SS/SS will have to send the data loaded into the send buffer fill_tx_buffer function and from the receive buffer读出数据function read_rx_buffer not given in accordance with their respective demand the completion of your own.
采用中断方式实现双全工通讯。
本例用两MEGA8515实现,连接为:
MISO----MISO
MOSI----MOSI
SCK ----SCK
/SS ----/SS
将要发送的数据加载到发送缓冲区的函数fill_tx_buffer
和从接收缓冲区读出数据的函数read_rx_buffer未给出,
根据各自需求请自己完成。 -I have a SPI example, through the realization of the two SPI communication using interrupt realize full-duplex communication. In this case two MEGA8515 realize, connect to: MISO MISO MOSI MOSI SCK SCK/SS/SS will have to send the data loaded into the send buffer fill_tx_buffer function and from the receive buffer读出数据function read_rx_buffer not given in accordance with their respective demand the completion of your own.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AVRspi.txt