MityDSP Documentation Index
tcDspAdc1278

Introduction

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

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

McBSP Port<ADS1278 PortNotes
DXDINExternal 2K Pulldown Resistor required
DRDOUT
CLKXDCLK
CLKRNo Connect
FSXNo Connect
FSRBUSY
GroundCS
See also:
MityDSP::tcDspAdc1278 Class Reference

Example

This is a simple example of tcDspAdc1278 creation and usage:

{
tcDspAdc1278* mpADC;
unsigned int sample[32];
// new up the 1278 core.
mpADC = new tcDspAdc1278(MCBSP_DEV0);
// read samples, print results
while(true)
{
sample = mpADC->GetSamples(sample, 32);
for (int i = 0; i < 32; i++)
{
printf("[%d] - %d\r\n",i,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.