Description: Data Acquisition example for C8051F060
Description: 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,
To Search:
File list (Check if you may need any files):
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例子程序