Hello,
I have the EVB S32K146 and I am trying to use adc_hwtrigger_s32k146 and adc_swtrigger_s32k146 and the readings are wrong.
No matter the value of the potentiometer, the output toggle randomly between 0.0109V and 0.0122 V
I have no problem using adc_pal_s32k146. Here the values are read correctly in SW and HW trigger mode.
I would use adc_pal_s32k146 for my project but the issue is that the ADC PAL driver has no support for DMA.
Could you please guide me on how to solve this issue?
Best regards,
Claudiu
Solved! Go to Solution.
Regarding the demo "adc_hwtrigger_s32k146",I made a test on S32K146EVB, and it works fine on my side.
Then test "adc_swtrigger_s32k146",
Both examples work well on S32K146EVB, so I'm pretty sure there should be no problem with these two routines, may be you can try check if the code has been modified or other reasons.
Those tests based on :
SDK: S32K1xx RTM SDK 3.0.0
IDE: S32K Design Studio for ARM 2018.R1
Hardware:S32K146EVB
BR!
Jim,
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
Regarding the demo "adc_hwtrigger_s32k146",I made a test on S32K146EVB, and it works fine on my side.
Then test "adc_swtrigger_s32k146",
Both examples work well on S32K146EVB, so I'm pretty sure there should be no problem with these two routines, may be you can try check if the code has been modified or other reasons.
Those tests based on :
SDK: S32K1xx RTM SDK 3.0.0
IDE: S32K Design Studio for ARM 2018.R1
Hardware:S32K146EVB
BR!
Jim,
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
Thank you,
The issue was that I did not generate the files for the Procesor Code, after the project was created.
Best regards,
Claudiu