ADC channel delay with SW trigger

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADC channel delay with SW trigger

Jump to solution
1,604 Views
ivaamonde
Contributor I

 

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

0 Kudos
Reply
1 Solution
1,589 Views
namnguyenviet
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
Reply
1 Reply
1,590 Views
namnguyenviet
NXP Employee
NXP Employee

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

0 Kudos
Reply