A question about ADC Sampling time in MPC5643L.

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

A question about ADC Sampling time in MPC5643L.

Jump to solution
631 Views
jungwoojin
Contributor I

HI.

I use  MPC5643L.

this device includes two ADC modules, referred to as ADC_0, and ADC_1.

and it has 9 external channels each ( ex. ADC_0 channel0 ~ ADC_0 channel8)

I know I can set ADC sampling time for each ADC module.

Nevertheless, Can I set ADC sampling time differently for each external channel?

Tags (1)
0 Kudos
1 Solution
536 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

more likely not. There is single CTR register for all external channels. So if you want to have different conversion time for each channel you need to reconfigure it before start of new channel conversion.

BR, Petr

View solution in original post

0 Kudos
3 Replies
537 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

more likely not. There is single CTR register for all external channels. So if you want to have different conversion time for each channel you need to reconfigure it before start of new channel conversion.

BR, Petr

0 Kudos
536 Views
jungwoojin
Contributor I

Thanks for the reply.

I am using CTU to do all external channel's conversion automatically.

This is declared in the initialization phase as follows:

init.PNG

so, I wonder how i can reconfigure CTR register before start of new channel(The specific channel I want) conversion.

0 Kudos
536 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

those 5 channels are converted immediately after each other, controlled by CTU. There is no way to change conversion time between each. You can maybe do that in SW controlled conversion.

BR, Petr

0 Kudos