S32K311EVM ADC function

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

S32K311EVM ADC function

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

View solution in original post

0 Kudos
Reply
3 Replies
1,591 Views
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 Kudos
Reply
1,565 Views
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 Kudos
Reply
1,556 Views
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 Kudos
Reply