A question about ADC Sampling time in MPC5643L.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

A question about ADC Sampling time in MPC5643L.

跳至解决方案
1,408 次查看
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?

标记 (1)
0 项奖励
回复
1 解答
1,313 次查看
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 项奖励
回复
3 回复数
1,314 次查看
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 项奖励
回复
1,313 次查看
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 项奖励
回复
1,313 次查看
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 项奖励
回复