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.