4 Replies Latest reply on Aug 22, 2017 3:07 PM by user_246598725

    Waveform generator: best way to change amplitude?

    user_246598725

      Hi,

       

      I've two data values which should control the frequency and the amplitude of a waveform output by DAC. Changing the frequency is already implemented. What's the best way to achieve this? Implementing a IDAC and control the value with a PWM as suggested in AN60305 to get a multiplying DAC would be one way. This solution seems to require a low-pass filter, but there's no starting point to calculate the LPF component values.

       

      Are there any other ways to change the amplitude (aside of multiplying the values in software and using the upper bits of the result)?

       

      Regards,

       

      Ralf