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.

TMDSSOLARUINVKIT: Two possible circuits for measuring PV current

Part Number: TMDSSOLARUINVKIT
Other Parts Discussed in Thread: OPA2171

Hello TI Team.

I have similar question to this one:

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/599578/tmdssolaruinvkit-micro-inverter-kit---two-possible-circuits-for-measuring-input-current?tisearch=e2e-sitesearch&keymatch=TMDSSOLARUINVKIT#

but relating to software.

In the TMDSSOLARUINVKIT SolarMicroInv-Main.c file there is a section for mapping channels to ADC pins.

Here it is:

	// EPWM 3 SOC Signals
	ChSel[0] = 6;		// Dummy read for first
	ChSel[1] = 6;		// A6 - IPV, A2 - IP1 Sen - CT
	ChSel[2] = 11;		// B3 - VPV
	//ChSel[3] = 14;		// B6 - VBOOST in Rev 1 PCB
	ChSel[3] = 4;		// A4 - VBOOST in Rev 2 PCB

	// EPWM 1 SOC Signals
	ChSel[4] = 1;		// A1 - IGRID
	ChSel[5] = 1;		// A1 - IGRID
	ChSel[6] = 9;		// B1 - VGRID
	ChSel[7] = 7;		// A7 - Ref_1.65V
	ChSel[8] = 5;		// A5 - Ref_0.5V
	ChSel[9] = 8;		// B0 - LEM Current Reference Output
	//ChSel[10] = 0;		// A0 - PLC

Two questions:
1. Just to be sure, are numbers that are assigned to the ChSel array represent the ADC pin number?

2. If so, in ChSel[1] = 6 the IPV is used and IP1 Sen is ignored which would suggest that Hall Effect current sensor is used. Am I right?