Shared ADC channels with CTU and normal operation

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

Shared ADC channels with CTU and normal operation

Jump to solution
732 Views
RuiC
Contributor I

Hi,

I'm using ##MPC5744 and I would like to clarify an ADC configuration questio

I'm configuring ADC0 module with CTU conversion and ADC1 module with Normal conversion.

The ADC1 channel 13 is shared with ADC0 channel 13, I need to read the ADC1 channel 13 using normal conversion (one shot) but I'm seeing that the CTU is triggering the ADC 0 and ADC 1 channel 13 conversion. I have configured ADC0_NCMR0 and ADC0_JCMR0 channel 13 to 0. I configured the ADC1_NCMR0 to have the ADC1 channel 13 with normal conversion and CTU for ADC1 is disabled, the mode of ADC1 is one shot.


My question is, Can I use the ADC1 channel 13 using normal conversion when ADC0 is configured as CTU conversion? When I disable the ADC0 CTU I'm able to read properly ADC1 channel 13 with normal conversion.

Thanks

0 Kudos
Reply
1 Solution
697 Views
RuiC
Contributor I

Hi Peter,

Thanks for your reply!

I found my issue, I was setting by mistake CTU to triggering ADC0 channel 13, so, the register CTU_CLR_A.CH  was set to channel 13.

 

Best regards!

View solution in original post

0 Kudos
Reply
2 Replies
718 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Let me talk to product engineer, so I can give you clear answer.

best regards,

Peter

698 Views
RuiC
Contributor I

Hi Peter,

Thanks for your reply!

I found my issue, I was setting by mistake CTU to triggering ADC0 channel 13, so, the register CTU_CLR_A.CH  was set to channel 13.

 

Best regards!

0 Kudos
Reply