S32K311EVM ADC function

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

S32K311EVM ADC function

跳至解决方案
1,609 次查看
johns_chuang
Contributor III

Dear team,

I have two questions:

I can see voltage changes when measuring J35 on the EVM with an oscilloscope, but why is there no signal when directly measuring PTA15?"

ADC.JPG

2. Most examples online are for the S32K344. In theory, the S32K311 should be compatible, but no matter how I modify it, I get random values between 0 and 3300 instead of the expected result. Can someone help provide an ADC example suitable for the S32K311? Or assist me in identifying where my understanding might be wrong?

 

Best,

Johns

0 项奖励
回复
1 解答
1,592 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@johns_chuang

There were a lot of errors in your original project, I have modified it for your reference.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,593 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@johns_chuang

There were a lot of errors in your original project, I have modified it for your reference.

0 项奖励
回复
1,567 次查看
johns_chuang
Contributor III

Hi Senlent,

Thank you for your assistance with the corrections. I would like to ask a few questions.

Why does the S32K3xx AUTOSAR R21-11 RTD 5.0.0 example in the S32DS project not include the S32K311, but only the S32K344, S32K358, and S32K388?

Why does the S32K344 ADC example require AdcEndOfChainNotif, but the example you provided for the S32K311 does not?

Which specific documents can I refer to for related design information?

Thank you again for your assistance.

Best regards,

0 项奖励
回复
1,558 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@johns_chuang

1. There is no demo for all S32K3, but the configuration of these peripherals is almost the same
2. There is no need to call this in your project, if you need, you can also add and use this interrupt
3. The attachment is a training document, which is very helpful

 

please create a new topic for your new question next time.

0 项奖励
回复