Hi Leo,
The shown example reads only single adc channel. But, I want to read multiple adc channels simultaneously, that's where I'm facing difficulty. I have modified the the below example to read analog values from PTD2 (ADC1 channel2)and PE6(ADC1 channel 11) pins. But, I'm only able to read 1 pin at a time.

I think I have configured the adcPreTriggerIdx wrongly. Please find the configured adcPreTriggerIdx below.
const pdb_adc_pretrigger_config_t pdb_1_adcTrigConfig0 = {
.adcPreTriggerIdx = 0U,
.preTriggerEnable = true,
.preTriggerOutputEnable = true,
.preTriggerBackToBackEnable = false
};
const pdb_adc_pretrigger_config_t pdb_1_adcTrigConfig1 = {
.adcPreTriggerIdx = 3U,
.preTriggerEnable = true,
.preTriggerOutputEnable = true,
.preTriggerBackToBackEnable = true
};
Could you please help me with this.
Regards
Rohit