How exactly does the S32K3 ADC average

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

How exactly does the S32K3 ADC average

Jump to solution
344 Views
FelixR
Contributor III

Hello there smart people,

I was wondering about how exatly the S32K3xx ADC behave if I enable averaging. 

Let's say for example I have averaging for 4 conversions enabled:

Does it execute multiple S&H conversion cycles after one trigger happens (figure 1), does it wait for 4 triggers to occure and write the averaged result into the register (figure 2) or does it work like a moving average filter where every following result is taken into the average of the previous result (figure 3)?

k3_hw_average_functionality.png

I would love to hear back from you guys about this rater specific question.

 

Regards,
Felix

0 Kudos
Reply
1 Solution
290 Views
_Leo_
NXP TechSupport
NXP TechSupport

Thank you for your interest in our products and for contributing to our community.

The average function works as you describe in figure 1.

I hope this information is helpful.

View solution in original post

0 Kudos
Reply
2 Replies
291 Views
_Leo_
NXP TechSupport
NXP TechSupport

Thank you for your interest in our products and for contributing to our community.

The average function works as you describe in figure 1.

I hope this information is helpful.

0 Kudos
Reply
255 Views
FelixR
Contributor III
Thank you very much for this info. It will help us a lot!
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2200169%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20exactly%20does%20the%20S32K3%20ADC%20average%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200169%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20there%20smart%20people%2C%3C%2FP%3E%3CP%3EI%20was%20wondering%20about%20how%26nbsp%3B%3CEM%3Eexatly%3C%2FEM%3E%20the%20S32K3xx%20ADC%20behave%20if%20I%20enable%20averaging.%26nbsp%3B%3C%2FP%3E%3CP%3ELet's%20say%20for%20example%20I%20have%20averaging%20for%204%20conversions%20enabled%3A%3C%2FP%3E%3CP%3EDoes%20it%20execute%20multiple%20S%26amp%3BH%20conversion%20cycles%20after%20one%20trigger%20happens%20(figure%201)%2C%20does%20it%20wait%20for%204%20triggers%20to%20occure%20and%20write%20the%20averaged%20result%20into%20the%20register%20(figure%202)%20or%20does%20it%20work%20like%20a%20moving%20average%20filter%20where%20every%20following%20result%20is%20taken%20into%20the%20average%20of%20the%20previous%20result%20(figure%203)%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22k3_hw_average_functionality.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22k3_hw_average_functionality.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F364301iFC6C34A9107F8B8C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22k3_hw_average_functionality.png%22%20alt%3D%22k3_hw_average_functionality.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20would%20love%20to%20hear%20back%20from%20you%20guys%20about%20this%20rater%20specific%20question.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERegards%2C%3CBR%20%2F%3EFelix%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2201186%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20exactly%20does%20the%20S32K3%20ADC%20average%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2201186%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%20very%20much%20for%20this%20info.%20It%20will%20help%20us%20a%20lot!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2201055%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20exactly%20does%20the%20S32K3%20ADC%20average%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2201055%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20your%20interest%20in%20our%20products%20and%20for%20contributing%20to%20our%20community.%3C%2FP%3E%0A%3CP%3EThe%20average%20function%20works%20as%20you%20describe%20in%20figure%201.%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20information%20is%20helpful.%3C%2FP%3E%3C%2FLINGO-BODY%3E