S32K144 PDB pulse-out trigger ADC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144 PDB pulse-out trigger ADC

ソリューションへジャンプ
383件の閲覧回数
joshua9264
Contributor II

joshua9264_0-1788314383945.png

joshua9264_1-1788314500502.png

#S32K144,Can I use Pulse-OUT to trigger ADC conversion?

0 件の賞賛
返信
1 解決策
352件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

It is possible to trigger the ADC from a PDB Pulse-Out signal, and the trigger muxing table shows this connection as a valid option.

However, the default hardware triggering scheme uses the PDB to trigger the ADC directly, which is the recommended approach. In this mode, the PDB generates all required channel pre-triggers as well as the ADC hardware trigger.

An alternative hardware triggering scheme is to use TRGMUX, selected by SIM_ADCOPT[ADCxTRGSEL].

A drawback of this approach is the limited number of pre-triggers (four) and their hardware availability. Only LPIT supports hardware pre-triggers. For other trigger sources, software pre-triggers must be configured using SIM_ADCOPT[ADCxSWPRETRG].

Therefore, in your case, you would need to configure the software pre-trigger before each PDB Pulse-Out event that is used as the ADC hardware trigger.

BR, Petr

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
353件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

It is possible to trigger the ADC from a PDB Pulse-Out signal, and the trigger muxing table shows this connection as a valid option.

However, the default hardware triggering scheme uses the PDB to trigger the ADC directly, which is the recommended approach. In this mode, the PDB generates all required channel pre-triggers as well as the ADC hardware trigger.

An alternative hardware triggering scheme is to use TRGMUX, selected by SIM_ADCOPT[ADCxTRGSEL].

A drawback of this approach is the limited number of pre-triggers (four) and their hardware availability. Only LPIT supports hardware pre-triggers. For other trigger sources, software pre-triggers must be configured using SIM_ADCOPT[ADCxSWPRETRG].

Therefore, in your case, you would need to configure the software pre-trigger before each PDB Pulse-Out event that is used as the ADC hardware trigger.

BR, Petr

0 件の賞賛
返信
343件の閲覧回数
joshua9264
Contributor II

joshua9264_1-1788335844473.png

This config is valid,thank you

0 件の賞賛
返信