S32K312 - ADC External Channel Name, ID

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K312 - ADC External Channel Name, ID

ソリューションへジャンプ
1,825件の閲覧回数
ssean
Contributor III

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,779件の閲覧回数
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,792件の閲覧回数
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,784件の閲覧回数
ssean
Contributor III

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,780件の閲覧回数
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,765件の閲覧回数
ssean
Contributor III

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,761件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

I think so, you can test it too.

0 件の賞賛
返信
1,758件の閲覧回数
ssean
Contributor III

Thank you @Robin_Shen .

0 件の賞賛
返信