Question
How to use PWM as DAC?
Posted on August 04, 2016 at 12:49
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. #adc #stm32 #pwm #dma #dac #stm32f2xx