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 Port

Notes

DX

DIN

External 2K Pulldown Resistor required

DR

DOUT

CLKX

DCLK

CLKR

No Connect

FSX

No Connect

FSR

BUSY

Ground

CS

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 Fri Sep 23 16:33:44 2011 for MityDSP Core by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.