Hi together
I'm using a S32K148 with S32 Design Studio.
I have a question about the ADC_PAL component from Processor expert.
Is it possible to change between HW Triggering and SW Triggering for a single Group?

Because I have to measure a signal which is either constant at a specific voltage, or a PWM.
So I want to change the triggering for a ADC_PAL Group depending on the signal (PWM or static). The PWM Signal is generated by the FTM5. Thats why I set FTM5 as HW trigger for the conversion in Processer expert.
I tried to call the the following component functions to enable and disable the HW Triggering:

So I disabled the HW Triggering first to measure the stable signal (SW Triggering). This worked once, but for a second measurement, the function ADC_StartGroupConversion() returned STATUS_BUSY.
It seems that the "active" status will not be reseted after a conversion (in ADC_S32K1xx_IrqHandler()):

This because the variable activeGroupCfg->hwTriggerSupport is set to true.
For the next steps I would like to Enable HW Triggering and measure the PWM signal on each period. But when the repeated measurement by SW Triggering of the stable signal does not work, I can't proceed.
I attached a sample program.
I hope you can understand my problem.
Thanks for your help.
Regards
Mario