We are using Tresos 24.0.1 and MCAL 4.3 to configure the ADC with SW trigger. PDB is disabled.
documentation says that delay is related only to PDB trigger but it seems that the delay value affects conversion time.
Does channel delay apply when using SW trigger?
Which are the units of delay value? ADC clock ticks?
Thanks
已解决! 转到解答。
Hello,
There is a specific point in ADC SW Conversion in S32K MCAL: Even with SW trigger, the ADC still needs the PDB as a trigger (however PDB is triggered by SW). So you need to enable the PDB.
The channel delay is optional: You can setup a delay for PDB to trigger the ADC conversion, via "Adc Group Uses Channel Delays", or you can configure without delay, via "Adc Group In Back to Back Mode". The unit of delay value is ticks, based on one PDB tick.
Best Regards,
Nam
Hello,
There is a specific point in ADC SW Conversion in S32K MCAL: Even with SW trigger, the ADC still needs the PDB as a trigger (however PDB is triggered by SW). So you need to enable the PDB.
The channel delay is optional: You can setup a delay for PDB to trigger the ADC conversion, via "Adc Group Uses Channel Delays", or you can configure without delay, via "Adc Group In Back to Back Mode". The unit of delay value is ticks, based on one PDB tick.
Best Regards,
Nam