MityDSP Documentation Index
tcDspAdc834xMcBsp

Introduction

The tcDspAdc834xMcBsp class may be used to provide access to the MityDSP ADS834x McBsp interface core. The ADS834x interface core marries the MityDSP to a TI ADS834x series 16 bit analog to digital converter.

For hardware interfaces, the ADS834x 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::tcDspAdc834xMcBsp Class Reference

Example

This is a simple example of tcDspAdc834xMcBsp creation and usage:

{
tcDspAdc834xMcBsp* mpADC;
unsigned int sample[32];
// new up the 834x core.
mpADC = new tcDspAdc834xMcBsp(MCBSP_DEV0);
// read samples, print results
while(true)
{
sample = mpADC->GetSamples(sample, 32, NULL, 1);
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.