Introduction - If you have any usage issues, please Google them yourself
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,