Part Number: LAUNCHXL-F28379D
Hello all;
I'm trying to set up the ADCD on my LAUNCHXL-F28379D, I've been seeing the adc_ex1_soc_software project example for this board using Driverlib and just CPU1, this example uses just ADCA and ADCB. However, I want to use ADCD to take advantage of the differential features that this board has.
Where I'm stuck is in the ADC SOC configuration, the example uses the function
ADC_setupSOC(ADCA_BASE, ADC_SOC_NUMBER0, ADC_TRIGGER_SW_ONLY, ADC_CH_ADCIN0, 15);
to set up the SOC, so I just tried to modify the function to work with the ADCD (ADCCLK is at 25 MHz) this is my version of this function
ADC_setupSOC(ADCD_BASE, ADC_SOC_NUMBER0, ADC_TRIGGER_SW_ONLY, ADC_CH_ADCIN0_ADCIN1, 250);
However, if you look at the 3rd variable (the bold one) that I'm giving to the function, it basically says that it will use as differential pins ADCIN0-ADCIN1 (in fact, the adc.h says as a comment "//!< differential, ADCIN0 and ADCIN1"), when what I want is something like ADCIND0 (as a subtraction with its matching pin) to take advantage of the J21 jumpers (according to the schematics, these jumpers deals with ADCIND0 to ADCIND3).
When I opened the adc.h it just allows to place values like ADCINx-ADCINy no ADCINDx-ADCINDy or similar is shown, so I think that maybe these ADCINx internally can be configured as ADCINDx but I cannot found where.
So, the question is: How can I set up the LAUNCHXL to read my analog differential signals from J21 pins?


