It is my understanding that a square wave can be converted to a smooth analog signal via passive low pass filter. However, this low pass filter acts like an integrator which ideally achieves the same result.
For the application of a DAC using PWM in the neighborhood of 1MHz, would an integrator or a low pass filter give me better results in terms of the quality of the analog output? Are there advantages/disadvantages to each method?
Would an integrator cause issues by relying on the capabilities of the OP amp used?