This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

About the DCP code for ADS1258 with C6713

Other Parts Discussed in Thread: ADS1258

Hi everyone,

I am using ADS1258 with C6713.In CCS v3.1 I generated the code for reading and writing blocks using DCP.But the readblock when called doesnot work properly where as the read sample block is working.I tried finding out the problem but I could not.Can anyone help  me in this?This is the main.c file where I call the readblock  function.


#include "t1258_fn.h"
#include "tidc_api.h"
#include <csl.h>
#include <csl_irq.h>



#define BUFF_SZ (1024)

unsigned int Buffer[BUFF_SZ];



void main()
{
 
    /* configure DSP resources and ADS1258 */
    dc_configure(&Ads1258_1);

    /*enable interrupts*/
    IRQ_globalEnable();


while(1)
{
    /*issue new block transfer*/
    while(Ads1258_1.iXferInProgress);
    dc_readblock(&Ads1258_1, &Buffer, BUFF_SZ, 0);
}
  }

I am totally new to this can anyone please help me?

Thank You

Regards

Ramya