AnsweredAssumed Answered

How to use PWM as DAC?

Question asked by Ganala.Manikanta on Aug 4, 2016
Latest reply on Aug 4, 2016 by Clive One
STM32F207VE Custom Board. I want to generate a PWM of 50-50 duty cycle with varying voltages (zero-to-maximum) like a DAC which gives output based on count. I do not have the schematic now. I'm directly viewing the waveform on scope via breakout pins. The amplitude of the waveform must be in my control. I am successful in generating PWM wave but with a constant amplitude <3V>. How do I change the voltage now? 
I'm using Timer 4.

Outcomes