ADC triggering on the wrong pin

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

ADC triggering on the wrong pin

跳至解决方案
809 次查看
AnthonyPinard
Contributor I

Hello, 

I ran into an issue on the s32k311 with the RTD 5.0.0. I am using Tresos 29.0.0.

So, I want to use Adc0_s14 on the pin Ptc16 but it is triggering on the pin Ptb0. The channel is always reading close to max count because ptb0 is my Spi chip select. The channel is supposed to read close to 1.0V. To confirm, I changed Ptb0 to a Gpio and I triggered the Adc while toggling the pin. I was now reading values alternating between 0 and max count. 

 

I feel like the issue is similar to this one: https://community.nxp.com/t5/S32K/S32K3-ADC-Channcal-configure-problem/td-p/1527680 

 

Do we have a fix for the RTD 5.0.0 concerning this type of issue? 

标记 (1)
0 项奖励
回复
1 解答
785 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Sorry for the inconvenience we bring you!
This issue is discussed here: S32K311_S32K310 ADC mux-mode channels was abnormal
I will send you the S32K311_ADC_Mux_Control.xlsx.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" 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 项奖励
回复
2 回复数
786 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Sorry for the inconvenience we bring you!
This issue is discussed here: S32K311_S32K310 ADC mux-mode channels was abnormal
I will send you the S32K311_ADC_Mux_Control.xlsx.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" 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 项奖励
回复
768 次查看
AnthonyPinard
Contributor I
Thank you, Robin.
The solution mentioned is working.
0 项奖励
回复