MityDSP Documentation Index
tcDspAdc7844

Introduction

The tcDspAdc7844 class may be used to provide access to the MityDSP ADS7844 interface core. The ADS7844 interface core marries the MityDSP to a TI ADS7844 series 12 bit analog to digital converter.

For hardware interfaces, the ADS7844 and McBSP should be connected as follows:

McBSP Port<ADS7844 PortNotes
DXDINExternal 2K Pulldown Resistor required
DRDOUT
CLKXDCLK
CLKRNo Connect
FSXNo Connect
FSRBUSY
GroundCS

This class allows for configuring the ADC to provide continuous or burst data colletion data.

See also:
MityDSP::tcDspAdc7844 Class Reference

Example

This is a simple example of tcDspAdc7844 creation and usage:

{
tcDspAdc7844* mpADC;
unsigned int sample;
// new up the 7844 core.
mpADC = new tcDspAdc7844(MCBSP_DEV0);
// read samples, print results
while(true)
{
sample = mpADC->GetSample(0);
printf("%d\r\n",sample);
TSK_sleep(1);
}
...
}

  
Generated on Mon Apr 22 2013 11:33:02 for MityDSP Core by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.