Part Number: TMS320F28388D
Hello All,
I recently started working with F28388D. So pardon me if my question is silly. I was trying to initialize ADC conversion by selecting trigger source, channel to convert and the acquisition window of 320 for differential end conversion through the following lines of code,
AdcaRegs.ADCSOC0CTL.bit.TRIGSEL = 7; //trigger on EPWM2A SOC0
AdcaRegs.ADCSOC0CTL.bit.ACQPS = 320;
AdcaRegs.ADCSOC0CTL.bit.CHSEL = 0;
The ADCINT1 routine is not working for the above lines of code but was working when I am using a driverlib function like this,
ADC_setupSOC(ADCA_BASE, ADC_SOC_NUMBER0, ADC_TRIGGER_EPWM2_SOCA, ADC_CH_ADCIN0, 64);
I could have simply used driverlib function. I am concerned because I am using bitwise operation at few sections.