文件名称:C8051F060-AD-UART1
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-07-03
- 文件大小:
- 39kb
- 下载次数:
- 0次
- 提 供 者:
- w*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
C8051F060 自带高速AD进行数据采集 可达100兆采样率 并切缓存与片外ram 并把采集数据通过串口发送给PC - Data Acquisition example for C8051F060
Descr iption: This example illustrates the use of ADC1 and the DMA to acquire and store
data. It is intended for use with the C8051F060 target board in the development kit.
// This code measures a signal at the AIN0 input with the 16-bit SAR ADC0.
// The data is sampled at a rate of 100kHz. ADC output data is transferred to
XDATA memory space using the DMA.
//
// With the EMIF configured for off-chip XRAM access (on the upper ports),
this code moves the ADC data to the C8051F060TB target boards s SRAM device.
// Once data acquisition is complete, the code then prompts the user to press the P3.7
// button on the target board when ready to receive the data via the UART0 serial port.
The TB features an RS-232 transceiver and connector, so the data can be transferred
// to a PC via its serial port.
//
The code is set to acquire up to 32768 samples (for 64kbytes of data). The SRAM device -
can accommodate up to 128kbytes,
Descr iption: This example illustrates the use of ADC1 and the DMA to acquire and store
data. It is intended for use with the C8051F060 target board in the development kit.
// This code measures a signal at the AIN0 input with the 16-bit SAR ADC0.
// The data is sampled at a rate of 100kHz. ADC output data is transferred to
XDATA memory space using the DMA.
//
// With the EMIF configured for off-chip XRAM access (on the upper ports),
this code moves the ADC data to the C8051F060TB target boards s SRAM device.
// Once data acquisition is complete, the code then prompts the user to press the P3.7
// button on the target board when ready to receive the data via the UART0 serial port.
The TB features an RS-232 transceiver and connector, so the data can be transferred
// to a PC via its serial port.
//
The code is set to acquire up to 32768 samples (for 64kbytes of data). The SRAM device -
can accommodate up to 128kbytes,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
060例子程序\060button3.7
...........\060button3.7.uvopt
...........\060button3.7.uvproj
...........\060button3.7_uvopt.bak
...........\060button3.7_uvproj.bak
...........\060button3.hex
...........\060button3.lnp
...........\060button3.M51
...........\ExtDll.iex
...........\F06x_SAR16data.c
...........\F06x_SAR16data.LST
...........\F06x_SAR16data.OBJ
...........\STARTUP.A51
...........\STARTUP.LST
...........\STARTUP.OBJ
060例子程序