Part Number: TMS320F28379D
Tool/software: Code Composer Studio
Hello
I am trying to measure the voltage at pin 31 of the TI Experimenterkit (TMS320F28379D).
Until now, all the other ADC conversions worked fine, using the code below:
//------------------------------
//Current measurement in line 1 - SOC0
//------------------------------
AdcaRegs.ADCSOC0CTL.bit.CHSEL = SENSE_LEM1; //SOC0 will convert pin ADC1A0
AdcaRegs.ADCSOC0CTL.bit.ACQPS = acqps; //sample window
AdcaRegs.ADCSOC0CTL.bit.TRIGSEL = 0x05; //trigger on ePWM1 SOCA, see page 1347/2472 in datasheet for an overview
I am now trying to set up an ADC that measures at pin 31, which should be ADC1-B2, according to the controlcard pinout.
In the reference manual, p 1357/2472, I however do not find this B2; they all refer to the pins as ADCIN0, ADCIN1, ADCIN2, ...and I used these (I guess) for the ADC1-A1 (ADCIN1).
I am however wondering how to select this pin? The B does not stand for the ADC2 right?
Could someone help me out on this?