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?
Solved! Go to Solution.
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.
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.
-------------------------------------------------------------------------------
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
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.
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?
I think so, you can test it too.
Thank you @Robin_Shen .