Leakage current can dominate your design, and switching regulators often have lousy leakage current specs (to be fair, so do a lot of old school linear regulators). Furthermore, switching regulators often have to "spin up" while a linear regulator is just sitting there ready to go as soon as your MCU switches on.
In addition, switching regulators tend to be designed for higher currents and tend to have terrible efficiency at small currents (< 1mA). If your circuit uses a very small amount of current even when active, a linear regulator may be superior even for constant-on systems.
But spin-up time... Yeah that still sucks :)
Use case: I want to just have a solar panel + supercap into microcontroller for IoT stuff so I want to suck that cap dry and avoid batteries for temperature range reasons.
And if you don't mind coughing up when it counts... TPS7A02 is 25nA, $0.45/ku. Triple the price, but more than four orders of magnitude better leakage.
[0]: https://www.analog.com/media/en/technical-documentation/data...
Years later after I graduated and left the team, I heard that the folk that took over went through and replaced all the switching regulators with linear ones. I asked them why, and they said someone told them the quiescent draw was lower for linear regulators. I asked them if it was really worth the significantly reduced efficiency dropping from 12V to 3.3V, and they didn't seem to understand what I was talking about. Oops!
This sounds like a useful thing to learn from. Do you have the schematics?
Used to? Almost every MCU I’ve seen recently has had distinct voltage references for the ADCs
Inductors are huge and (generally) off chip. If say your SOC has an AMS components, and PINs are a commodity, then you can't use anything but a Charge Pump and LDOs.
In most realistic designs you put multiple power supply rails in your designs because you need a lot of parts that don't need a lot of power but have different voltage requirements or might need voltage offset. In those cases linear regulators are perfect solution.
More than that, those power supply rails usually have standard voltages and there exist standard linear regulators that output those voltages to make everything even easier.
My strategy is to use linear regulators default and only use anything more complex on those voltage rails where I need to step the voltage up or where the inefficiencies would affect my design's performance significantly enough for me to care.
Oh, and use voltage dividers if you want to convert signal levels (unless it is fast signal and you care about signal integrity).
Yeah, no.
1. Linear regulators do not introduce voltage ripple and by the nature of being variable resistors, they form a nice low-pass filter with the capacitors around it. For some sensitive designs, you use a switching converter to step down voltage to e.g. 5V, filter it and then use LDO to get it down to 3.3V with even more filtering.
2. Linear regulators are dirt cheap. And for e.g. USB devices drawing less than couple hundred mA @ 5V using a regulator to step it down to 3.3V would be an overkill.
Granted, recent Raspberry Pi Pico (for example) does use a switching regulator (unlike other boards in that form factor), but it also has led to complications with power supply ripple showing in ADC readings.
But sure, if you application needs higher efficiency, steps down by more than ~2V or pushes around a lot of current, switching regulator is a better choice.