S32K144 PDB pulse-out trigger ADC

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

S32K144 PDB pulse-out trigger ADC

Jump to solution
183 Views
joshua9264
Contributor II

joshua9264_0-1788314383945.pngjoshua9264_0-1788314383945.png

joshua9264_1-1788314500502.pngjoshua9264_1-1788314500502.png

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

0 Kudos
Reply
1 Solution
152 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
153 Views
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 Kudos
Reply
143 Views
joshua9264
Contributor II

joshua9264_1-1788335844473.pngjoshua9264_1-1788335844473.png

This config is valid,thank you

0 Kudos
Reply