Part Number: C2000WARE
I'm working on a project using the F28379D launchpad. I'm using the C2000Ware driverlib HAL drivers for the peripherals configuration.
I am trying to synchronize the sampling of three ADC channels with a software trigger using the C2000Ware driverlib functions.
The chanels are ADCINA0, ADCINB0 and ADCIND0, they are all configured to be triggered by SOC0 :
ADC_setupSOC(ADCA_BASE, ADC_SOC_NUMBER0, ADC_TRIGGER_SW_ONLY, ADC_CH_ADCIN0, 15);
ADC_setupSOC(ADCB_BASE, ADC_SOC_NUMBER0, ADC_TRIGGER_SW_ONLY, ADC_CH_ADCIN0, 15);
ADC_setupSOC(ADCD_BASE, ADC_SOC_NUMBER0, ADC_TRIGGER_SW_ONLY, ADC_CH_ADCIN0, 15);
When I want to trigger the simultaneous sampling, the only option that I found in driverlib is :
ADC_forceSOC(ADCA_BASE, ADC_FORCE_SOC0);
ADC_forceSOC(ADCB_BASE, ADC_FORCE_SOC0);
ADC_forceSOC(ADCD_BASE, ADC_FORCE_SOC0);
But this does not seem to do what I want as the trigger is "per channel" and not "per SOC"... Is there another option for this ?