S32K312 - ADC External Channel Name, ID

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

S32K312 - ADC External Channel Name, ID

Jump to solution
1,300 Views
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 Kudos
Reply
1 Solution
1,254 Views
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.

View solution in original post

0 Kudos
Reply
6 Replies
1,267 Views
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 Kudos
Reply
1,259 Views
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 Kudos
Reply
1,255 Views
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 Kudos
Reply
1,240 Views
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 Kudos
Reply
1,236 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I think so, you can test it too.

0 Kudos
Reply
1,233 Views
ssean
Contributor II

Thank you @Robin_Shen .

0 Kudos
Reply