S32K396

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

S32K396

396 Views
YY2410
Contributor III

Our processor is S32K396. When using ADC, the following error occurred:
I have a total of 5 ADCs. Two of them use the channels 1 and 3 of the AD5 controller respectively. Occasionally, there will be abnormal data collection from channel 1. At this time, by measuring with a multimeter, there is voltage on the pins, but no values can be obtained. When channel 3 is shielded, channel 1 works normally.
The remaining 3 channels of ADC are each using a separate AD controller, and all are functioning properly.
The attachment contains the configuration of my AD5 components and the ADC acquisition code. Please take a look and let me know if there are any issues.
Thank you!

我们处理器为S32K396,使用ADC时出现如下错误:

我共有5路ADC,其中有两路分别用了AD5控制器的通道1和通道3;此时会偶发性出现通道1采集异常,此时通过万用表测量管脚上存在电压,但是采集不到值。当把通道3屏蔽掉之后,通道1工作正常。

剩余3路ADC分别单独使用一个AD控制器,均工作正常。

附件是我的AD5组件配置及ADC采集代码,麻烦看下什么问题。

谢谢!

Tags (2)
0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2264573%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K396%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264573%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOur%20processor%20is%20S32K396.%20When%20using%20ADC%2C%20the%20following%20error%20occurred%3A%3CBR%20%2F%3EI%20have%20a%20total%20of%205%20ADCs.%20Two%20of%20them%20use%20the%20channels%201%20and%203%20of%20the%20AD5%20controller%20respectively.%20Occasionally%2C%20there%20will%20be%20abnormal%20data%20collection%20from%20channel%201.%20At%20this%20time%2C%20by%20measuring%20with%20a%20multimeter%2C%20there%20is%20voltage%20on%20the%20pins%2C%20but%20no%20values%20can%20be%20obtained.%20When%20channel%203%20is%20shielded%2C%20channel%201%20works%20normally.%3CBR%20%2F%3EThe%20remaining%203%20channels%20of%20ADC%20are%20each%20using%20a%20separate%20AD%20controller%2C%20and%20all%20are%20functioning%20properly.%3CBR%20%2F%3EThe%20attachment%20contains%20the%20configuration%20of%20my%20AD5%20components%20and%20the%20ADC%20acquisition%20code.%20Please%20take%20a%20look%20and%20let%20me%20know%20if%20there%20are%20any%20issues.%3CBR%20%2F%3EThank%20you!%3C%2FP%3E%3CP%3E%E6%88%91%E4%BB%AC%E5%A4%84%E7%90%86%E5%99%A8%E4%B8%BAS32K396%EF%BC%8C%E4%BD%BF%E7%94%A8ADC%E6%97%B6%E5%87%BA%E7%8E%B0%E5%A6%82%E4%B8%8B%E9%94%99%E8%AF%AF%EF%BC%9A%3C%2FP%3E%3CP%3E%E6%88%91%E5%85%B1%E6%9C%895%E8%B7%AFADC%EF%BC%8C%E5%85%B6%E4%B8%AD%E6%9C%89%E4%B8%A4%E8%B7%AF%E5%88%86%E5%88%AB%E7%94%A8%E4%BA%86AD5%E6%8E%A7%E5%88%B6%E5%99%A8%E7%9A%84%E9%80%9A%E9%81%931%E5%92%8C%E9%80%9A%E9%81%933%EF%BC%9B%E6%AD%A4%E6%97%B6%E4%BC%9A%E5%81%B6%E5%8F%91%E6%80%A7%E5%87%BA%E7%8E%B0%E9%80%9A%E9%81%931%E9%87%87%E9%9B%86%E5%BC%82%E5%B8%B8%EF%BC%8C%E6%AD%A4%E6%97%B6%E9%80%9A%E8%BF%87%E4%B8%87%E7%94%A8%E8%A1%A8%E6%B5%8B%E9%87%8F%E7%AE%A1%E8%84%9A%E4%B8%8A%E5%AD%98%E5%9C%A8%E7%94%B5%E5%8E%8B%EF%BC%8C%E4%BD%86%E6%98%AF%E9%87%87%E9%9B%86%E4%B8%8D%E5%88%B0%E5%80%BC%E3%80%82%E5%BD%93%E6%8A%8A%E9%80%9A%E9%81%933%E5%B1%8F%E8%94%BD%E6%8E%89%E4%B9%8B%E5%90%8E%EF%BC%8C%E9%80%9A%E9%81%931%E5%B7%A5%E4%BD%9C%E6%AD%A3%E5%B8%B8%E3%80%82%3C%2FP%3E%3CP%3E%E5%89%A9%E4%BD%993%E8%B7%AFADC%E5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