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.

CCS: DA display voltage

Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

hello,

I am using F28377D, I want to see digital value on scope by using DAC, v1 is my digital value, now I want to see v1 on scope if its same as real value, how can I input v1 to DAC. like f28335 we used this

DA_CHA=(Uint16)(v1+2047); but for f28377D I don't know how to do this

v1=((float)(AdcaResultRegs.ADCRESULT3)-2192)*0.0364;

EALLOW;

DacaRegs.DACCTL.bit.LOADMODE = 0;

DacaRegs.DACCTL.bit.DACREFSEL = 1;

DacaRegs.DACOUTEN.bit.DACOUTEN = 1;

EDIS;

DacaRegs.DACVALS.bit.DACVALS=1024