An image is taking shape.
First of all, do nothing to prevent them from wanting to hire you back, in case this dismissal is temporary.
Chances are that the CEO (your boss, or your boss's boss) had big ideas about his startup operation. Maybe a few investors too.
I'll bet extreme hopefulness was behind their "lauding you as the new messiah".
Take neither their ranting at you nor their overdone praise seriously.
The boss may not understand all the technical details behind the company's new product. But he can understand that it emits odd noises.
Now the boss has a lot of people he wants to impress. Did he make a show of saying "The product is overdue and doesn't meet specs, so we're starting over with a new engineer, and you, my backers, can yet expect a return on your investment"?
It would have made better sense to tell you any bad news from the SMPS consultant. Then you could continue ironing out the bugs.
To fire you now is like firing the general who lost one battle but won the previous eight.
There's a chance he'll come back and ask you to fix this remaining bug. He might even offer you a 10 percent raise.
In the meantime he'll probably try hiring another engineer. He may or may not succeed.
And in case he doesn't succeed, isn't the boss likely to sack him too?
That's why I recommend you stay on good terms with the people who just sacked you. It may be temporary.
Just try to hold onto some optimism right now.
Anyway someone else 'in the loop' may have noticed your abilities thus far, and make you an offer to come and work for his company.
--------------------
About the 630Hz tones... (in case that was really the cause of your dismissal, and in case you get another shot)...
Can you construct another filter somewhere to trap the buzz? Reduce the buzz?
Pack foam around the components to soften the buzz?
Change the resonant frequency of one of the LC pairs, in case the trouble came from the center frequencies being in sync?