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.

TIDM-HV-1PH-DCAC: TMDXCNCD28379D Cmpss1Regs.COMPDACCTL.bit.SELREF= REFERENCE_VDDA;

Part Number: TIDM-HV-1PH-DCAC


Hello,

  I was trying to understand this coding line in hv1phdcac_board.c

Cmpss1Regs.COMPDACCTL.bit.SELREF= REFERENCE_VDDA;

REFERENCE_VDDA is defined as 0

http://www.ti.com/lit/ug/spruhm8f/spruhm8f.pdf

BTW, the above table does not agree with the header file structure IMO

struct COMPDACCTL_BITS { // bits description
Uint16 DACSOURCE:1; // 0 DAC Source Control
Uint16 RAMPSOURCE:4; // 4:1 Ramp Generator Source Control
Uint16 SELREF:1; // 5 DAC Reference Select
Uint16 RAMPLOADSEL:1; // 6 Ramp Load Select
Uint16 SWLOADSEL:1; // 7 Software Load Select
Uint16 rsvd1:6; // 13:8 Reserved
Uint16 FREESOFT:2; // 15:14 Free/Soft Emulation Bits
};

I read the above to read that the DAC will use the VDAC reference

I see on the MCU001A(001)_Sch.PDF that PLC_RX connects J15-12  to J15-27

Which corresponds to HSEC_ADC-B0(VDAC) and HSEC_ADCIN15 

in F2837x_180controlCARD_R1_1_a_SCH_09MAY2014.pdf

It appears VDAC is undriven and selecting it as the DAC Reference selection does not make sense to me.

MCU001A(001)_Sch.PDF

1351.F2837x_180controlCARD_R1_1_a_SCH_09May2014.pdf