Hello,
It is very basic to know that the DC voltage represent the average value of the PWM signal, hence it can be expressed in term of duty cycle as
Vdc=DutyCycle%*VDD, assuming that the PWM hgih voltage is equal to VDD.
However, we can generate the PWM with different frequencies, while in the formula is not showing any relationship to the frequency with the DC level of the signal,
Hence I would ask for the criteria of choosing the PWM
frequency,
Thank you
Regards