I'm designing a board with ATmega128 MCU. I have a TL431 reference connected to the ADC_REF pin, with both TL431 and the MCU connected to the same supply, 3.3 V.

Now I realized one problem - since the TL431 is connected directly to the 3.3 V, I don't have any possibility to switch it off to reduce power consumption, while the MCU is in sleep mode.

My solution, I came up with so far, is to power the TL431 from the output pin of ATmega, via a 390R resistor. This would allow me to switch off the reference before the MCU goes into sleep mode. At 3.3 V at the output, the cathode current would be 2 mA, which is sufficient, it should even work for output voltage as low as 2.9V (1 mA cathode current).

Are there some possible problems with this solution?

  • \$\begingroup\$ It is possible. Consider that the power supply labeled 3.3V, might be 3V real. It's possible to use a transistor connecting to ground and it's possible to use the GPIO pin directly. You have to check what will be the state of the pin in sleep mode. \$\endgroup\$ – CFCBazar com May 13 at 18:41
  • 1
    \$\begingroup\$ We are using a similar thing in our electronic electricity meters, to reduce the power consumption while supplying the control circuitry from the internal non-rechargeable battery which is the only power source for extreme situtations such as power outages. No problems so far. \$\endgroup\$ – Rohat Kılıç May 13 at 19:21

Yes, I think this will work, at least up to 85°C . Output drop is specified as as < 800mV at -10mA and 3V supply, so with 2mA and 3.3V supply the drop should be < 180mV.

If the supply is 5% low (3.135V), the resistor 5% high (409.5\$\Omega\$), and the reference at the maximum 2.550 the current will be 0.99mA. So maybe use a 1% resistor, but 5% will be fine too.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.