CTU_0 and CTU_1 same trigger source

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

CTU_0 and CTU_1 same trigger source

483 Views
alimeraj
Contributor IV

Hi,

Is there any way to trigger CTU_0 and CTU_1 from FlexPWM_1 only?. if not how this is possible to achieve as I want to sample ADC0,1 and 2 at the same time.

Regards,

Ali

0 Kudos
2 Replies

376 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

If you need to trigger CTU0 and1 from your PWM signal.

Then you will have in CTU0 command list dual conversion for ADC0 and 1.

In CTU1 command list you will have ADC2.

Make sure CTUs triggers are executed in the same time.

Peter

0 Kudos

376 Views
alimeraj
Contributor IV

Hi Peter,

thanks for coming back to my question.

The problem here is I am only using flexPWM_1 module to generate PWM and I can trigger ADC2 using CTU1 properly. the only issue I have is how can trigger the CTU0 from flexPWM_1 module or if there is any other way to sample ADC0 and ADC1 at the same time.

Regards,

Ali

0 Kudos