S32K312 - ADC External Channel Name, ID

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

S32K312 - ADC External Channel Name, ID

跳至解决方案
1,307 次查看
ssean
Contributor II

Hello.

My ADC input connect to PTB10. (S32K312, 100 pin mcu)

PTB10 is ADC0_X[2].

X2 channel number using 80 ~ 87.

How can I choice correct channel number?

Which channel number match PTB10?

ssean_0-1691555384859.png

 

0 项奖励
回复
1 解答
1,261 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please refer to the discussion in S32K3 ADC Use of external channels.

But if you did not use external analog multiplexers at all. You can use ADC0_X[0], ADC0_X[1], ADC0_X[2], ADC0_[3] channels as 4 ADC channels instead of 32 external channels. Which means you can ignore ADC0_MA[2:0] signals coming out from S32K3.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,274 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

You can find the information in Table 314. ADC channel mapping of S32K3xx MCU Family - Reference Manual (Rev 7)


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
1,266 次查看
ssean
Contributor II

Dear @Robin_Shen 

 

Thank you for reply.

I already read RM.

But I can't understand ADC0_MA[2:0] means.

Could you explain what is below line means?

"ADC0_MA[2:0] = 3'h0"

"ADC0_MA[2:0] = 3'h1"

 

Best Regards,

Sean Sung

0 项奖励
回复
1,262 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please refer to the discussion in S32K3 ADC Use of external channels.

But if you did not use external analog multiplexers at all. You can use ADC0_X[0], ADC0_X[1], ADC0_X[2], ADC0_[3] channels as 4 ADC channels instead of 32 external channels. Which means you can ignore ADC0_MA[2:0] signals coming out from S32K3.

0 项奖励
回复
1,247 次查看
ssean
Contributor II

Dear @Robin_Shen 

 

I didn't use external analog multiplexers.

As your mention, I can use ADC0_X[2] channels as just 1 ADC channels.

And I can choice any value between "X2_ChanNum80" ~ "X2_ChanNum87" in "Channel Name", right?

 

0 项奖励
回复
1,243 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

I think so, you can test it too.

0 项奖励
回复
1,240 次查看
ssean
Contributor II

Thank you @Robin_Shen .

0 项奖励
回复