ADC channel delay with SW trigger

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ADC channel delay with SW trigger

跳至解决方案
1,596 次查看
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 项奖励
回复
1 解答
1,581 次查看
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 项奖励
回复
1 回复
1,582 次查看
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 项奖励
回复