i.MX RT1062: What is channel group on ADC

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

i.MX RT1062: What is channel group on ADC

跳至解决方案
2,890 次查看
kenji
Contributor IV

Hi All

What is channel group on ADC?

I can' t find out in the i.MX RT1060 Processor Reference Manual about it.

But there is on MCUXpresso Config Tools and SDK functions.

What is the relation ship with ADC1/2 moudle and ADC external signals (pins)?

kenji_1-1626171389861.png

 

kenji_0-1626171365052.png

 

标签 (2)
0 项奖励
回复
1 解答
2,851 次查看
kenji
Contributor IV

Hi, victorjimenez-san

There are still issues, but ADC can now be performed in synchronization with PWM. I've gradually come to understand the settings in Config Tools.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,880 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hi Kenji, 

The RT1060 family has two ADC modules, ADC1 and ADC2, each module has 8 channel groups. These channel groups correspond to registers ADC1_HC0, ADC1_HC1,  ADC1_HC2,  ADC1_HC3... and ADC1_R0, ADC1_R1, ADC1_R2, ADC1_R3... The same applies to the ADC2 module. 

I understand your point. With the current information of the reference manual, it's confusing to know what are the channel groups. I will pass these comments to the documentation team.

Regards,
Victor  

0 项奖励
回复
2,874 次查看
kenji
Contributor IV

Hi victorjimenez-san

I undersatnd that each ADC modules has 8 channel groups.
So, these 8 channel groups, each could have several ADC signal, like below?

kenji_0-1626335819555.png

I want to use PWM and ADC in synchronization.
In this case, is the ADC done in group units?

I want to know about the relationship of group and signal.

0 项奖励
回复
2,865 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hi Kenji, 

So, these 8 channel groups, each could have several ADC signal, like below?

Yes, your understanding is correct. There's only one thing to keep in mind. ADC_HC0 can be used for both software and hardware trigger mode. Other ADC_HCn (n = 1...) are for use only in hardware trigger mode. For more information regarding this, refer to section 66.8.1 of the reference manual. 

want to use PWM and ADC in synchronization.
In this case, is the ADC done in group units?

You have to use these registers, ADC_HCn, no matter the functionality. 

Regards,
Victor

0 项奖励
回复
2,852 次查看
kenji
Contributor IV

Hi, victorjimenez-san

There are still issues, but ADC can now be performed in synchronization with PWM. I've gradually come to understand the settings in Config Tools.

0 项奖励
回复