S32K322 CMP DAC

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

S32K322 CMP DAC

478 Views
jichengyou
Contributor I

hello there:

    I would like to know if, in the S32K322, I can use its CMP's DAC to simulate a Sin wave form?

    If possible, could you please help me find an example routine and provide a brief explanation?

    If it doesn't work, are there any other feasible solutions?

 

thanks.

0 Kudos
Reply
1 Reply

404 Views
_Leo_
NXP TechSupport
NXP TechSupport

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

The DAC of LPCMP module is for internal reference. There is no way to route such signal to an external pin.

What you can do is to emulate a DAC signal converting a PWM signal into an analog voltage by averaging the signal's pulse duty cycle using a low-pass filter.

I hope this information is helpful.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2157467%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K322%20CMP%20DAC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2157467%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehello%20there%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%26nbsp%3BI%20would%20like%20to%20know%20if%2C%20in%20the%20S32K322%2C%20I%20can%20use%20its%20CMP's%20DAC%20to%20simulate%20a%20Sin%20wave%20form%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20If%20possible%2C%20could%20you%20please%20help%20me%20find%20an%20example%20routine%20and%20provide%20a%20brief%20explanation%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20If%20it%20doesn't%20work%2C%20are%20there%20any%20other%20feasible%20solutions%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ethanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2157832%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K322%20CMP%20DAC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2157832%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%20DAC%20of%20LPCMP%20module%20is%20for%20internal%20reference.%20There%20is%20no%20way%20to%20route%20such%20signal%20to%20an%20external%20pin.%3C%2FP%3E%0A%3CP%3EWhat%20you%20can%20do%20is%20to%20emulate%20a%20DAC%20signal%20converting%20a%20PWM%20signal%20into%20an%20analog%20voltage%20by%20averaging%20the%20signal's%20pulse%20duty%20cycle%20using%20a%20low-pass%20filter.%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20information%20is%20helpful.%3C%2FP%3E%3C%2FLINGO-BODY%3E