Tool/software: Code Composer Studio
Hi,
I am using 28379D launch pad to read analog signal throgh DAC pins. I am able to find two ADCIN through DACOUTA and DACOUTB. But i am not able to find the other DAC outs, though in the datasheet DAC1...DAC4 pins are mentioned simultaneously with DACOUTA and B. The output i find only through DACOUTA and B. I doubt ,which pins i should use as DACC or DACD. I have mentioned below the way i have intialized the DAC pins.
#define DACA 1
#define DACB 2
#define DACC 3
#define DAC_NUM_1 DACA
#define DAC_NUM_2 DACB
#define DAC_NUM_3 DACC
.......
// configureDAC(DAC_NUM);
configureDAC(DAC_NUM_1);
configureDAC(DAC_NUM_2);
configureDAC(DAC_NUM_3);
....................
interrupt void adca1_isr(void)
{
AdcaResults[resultsIndex++] = AdcaResultRegs.ADCRESULT2;
DAC_PTR[DAC_NUM_1]->DACVALS.all= AdcaResultRegs.ADCRESULT2;
DAC_PTR[DAC_NUM_2]->DACVALS.all= AdcaResultRegs.ADCRESULT2;
DAC_PTR[DAC_NUM_3]->DACVALS.all= AdcaResultRegs.ADCRESULT2;
Please suggest to resolve it.
Thank you