文件名称:SPI_rtest
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 22kb
- 下载次数:
- 0次
- 提 供 者:
- S**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
针对Silicon labs的C8051F020 mcu 的全双工SPI(4线)调试从器件部分程序,对其接收到的主器件的数据包会从串口1中发送至PC,从串口助手中可以看到.开发环境为KeilC,需要U-EC3仿真器下载至mcu中,方可调试. 这与上传的另一个SPI_test是两个相关的程序,但是二者的配置有很大的区别.如果要实现全双工,需要在从器件里保证:在主器件发起通信前将待发数据赋给SPIDATA缓冲器(注意收发缓冲器是同一个).当主器件发起通信时,主从器件同时发送数据.蛮有意思的!:)-Silicon labs for the C8051F020 mcu full-duplex SPI (4 lines) debugging some of the procedures from the device, its main device to receive data packets from the serial port 1 sent to the PC, from the serial port can be seen aides. development environment for KeilC, the need for U-EC3 emulator downloaded to mcu in order to debug. This From Another SPI_test are two related procedures, but the configuration of the two there was a great difference. if we are to achieve full- duplex, the need from the devices in that: in the main device to initiate communication will be ready before the data buffer assigned SPIDATA (Note that to send and receive buffers are one and the same). When the master device to initiate communication, the master-slave devices send data at the same time. very interesting the!:)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SPI_rtest
.........\c8051F020.h
.........\isr.c
.........\isr.LST
.........\isr.OBJ
.........\main.c
.........\main.h
.........\main.LST
.........\SPI_rtest.hex
.........\SPI_rtest.lnp
.........\SPI_rtest.M51
.........\SPI_rtest.Opt
.........\SPI_rtest.plg
.........\SPI_rtest.Uv2
.........\SPI_rtest_Opt.Bak
.........\SPI_rtest_Uv2.Bak
.........\STARTUP.A51
.........\STARTUP.LST
.........\STARTUP.OBJ
.........\c8051F020.h
.........\isr.c
.........\isr.LST
.........\isr.OBJ
.........\main.c
.........\main.h
.........\main.LST
.........\SPI_rtest.hex
.........\SPI_rtest.lnp
.........\SPI_rtest.M51
.........\SPI_rtest.Opt
.........\SPI_rtest.plg
.........\SPI_rtest.Uv2
.........\SPI_rtest_Opt.Bak
.........\SPI_rtest_Uv2.Bak
.........\STARTUP.A51
.........\STARTUP.LST
.........\STARTUP.OBJ