2014-08-12 10:21 PM
Hello,
I am generating a signal which goes to output of the DAC, but unfortunately when I use the PWM module of the system the PWM signal frequency distorts the signal generated by the DAC.Can anyone tell me what is the problem and if there exist a solution.Regards2014-08-14 01:37 AM
You did not provide much (any) information about schematics, layout and component placing, which makes it hard to guess. Naming the MCU type would help, too, albeit the DAC implementations seem the same across the STM32 family.
However, the DAC has a high output impedance, especially in non-buffered mode. Switching circuitry nearby, or non-optimal power supply/decoupling can easily affect the DAC output.