SPI_rtest

所属分类:单片机开发
开发工具:C/C++
文件大小:22KB
下载次数:54
上传日期:2007-11-22 14:55:26
上 传 者autumnicecream
说明:  针对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 (17166, 2007-05-08)
SPI_rtest\isr.c (1639, 2007-11-16)
SPI_rtest\isr.LST (4717, 2007-11-16)
SPI_rtest\isr.OBJ (1768, 2007-11-16)
SPI_rtest\main.c (4299, 2007-11-20)
SPI_rtest\main.h (564, 2007-11-16)
SPI_rtest\main.LST (8253, 2007-11-16)
SPI_rtest\SPI_rtest.hex (1609, 2007-11-14)
SPI_rtest\SPI_rtest.lnp (73, 2007-11-16)
SPI_rtest\SPI_rtest.M51 (12549, 2007-11-16)
SPI_rtest\SPI_rtest.Opt (2828, 2007-11-20)
SPI_rtest\SPI_rtest.plg (185, 2007-11-20)
SPI_rtest\SPI_rtest.Uv2 (2125, 2007-11-16)
SPI_rtest\SPI_rtest_Opt.Bak (2828, 2007-11-16)
SPI_rtest\SPI_rtest_Uv2.Bak (2125, 2007-11-15)
SPI_rtest\STARTUP.A51 (5115, 2002-04-16)
SPI_rtest\STARTUP.LST (11665, 2007-11-16)
SPI_rtest\STARTUP.OBJ (749, 2007-11-16)
SPI_rtest (0, 2007-11-20)

近期下载者

相关文件


收藏者