Is this ALL the micro is doing?
Also monitoring a power on/off button. I want it to work like a phone: you have to hold down for a couple seconds for on, off is instant. The micro sends an enable signal to a 5V boost converter that powers the opamps. Finally, it reads the output of a voltage monitor and shuts everything down if the battery voltage goes below a certain threshold.
Those CPLDs look really neat, but the time it would take me to learn how to use them would push this project out too far. Also, the smallest ones are much larger on a board than a SOT23-6 or even TSSOP-14 microcontroller.
Isn't the 300uA current that most of the microcontrollers will beat, still much less than you'll end up needing to drive into your headphones?
In general, I still like to be smart about current usage wherever I can. Also, I started this thread out of curiosity to see if there were micros out there with really low run currents.
The headphones are 16ohms nominal and 105dB SPL/mW. If this page
http://www.apexhifi.com/specs.html is correct about how db SPL works, the headphones would reach 85dB SPL at 10uW. Given this is louder than I will use, it's a good figure for estimating power.
I just realized that I can put the headphone channels in series and use one output driver. This saves both parts and operating current. I would need about 35.8mV peak into this 32ohm load to acheive 20uW (10uW per earbud), and this draws 791uA RMS.
Running these numbers again was really good. I'm going to ditch the boost converter and run the opamps from the battery, with a load switch to turn them off in powerdown.
The FV version will run directly off your LiIon cell, the operating envelope is 2.0 to 5.5v, so no LDO required.
PIC10F202 and ATTiny4 will do the same. I don't want the output volume to drift with battery voltage, and the AP2138 regulator needs about 1uA of supply current. Given that these micros run at much higher currents with higher input voltage, adding the LDO is a net savings in power usage.