Sine wave or square wave? That is the question...
Whether 'tis nobler in the mind to suffer
The microvolts and megohms of analog design,
Or to just whack in a bigass FPGA,
And by abstraction avoid them? To digitize;
No more; and by a microcontroller to say we end
The measurement and the thousand electric shocks
That flesh is heir to, 'tis a consummation
Devoutly to be wish'd. To digitize;
To develop: perchance to code: ay, there's the rub;
For in that programming what debugging may come
When we have shuffled off this SMPS coil,
Must give us pause: there's the respect
That makes calamity of so long life;
For who would build the power supplies,
The transmission lines, the test gear,
... oh, I give up, it's dinner time.