Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: ADC leakage on LPC2148....?

2006-02-08 by dr_danish_ali

Could you use a P-channel MOSFET to switch that connection on or off?
Something like a FDV302P would do the job nicely - is is about 13 ohms
when turned hard on (i.e. with gate 2.7V less than source/drain).
Ensure that the gate floats up to battery voltage when the LPC2148 is
off.

Is the ADC input pin you're using to read the voltage where the
leakage is? There is an input multiplexer to choose which pin each ADC
is connected to. I suspect that when you tell the ADC to use a
different pin, that leakage path does not apply. Unless you allow VddA
or VRef to go below the analogue input value.

I would have expected more current to flow into VddA and VRef then any
analog input. Do you turn these off when powering down the LPC2148?

Hope these comments help,
Danish
--- In lpc2000@yahoogroups.com, "myfriendmarkis" <myfriendmarkis@...>
wrote:
>
> I'm using the LPC2148 and have a serious problem. I'm using one of the 
> ADC channels to measure battery voltage (across 2AA cells). When the 
> microcontroller is off there is a current drain path from the 
> batteries through the ADC which flattens the batteries in a few days 
> with the board off.... 
> 
> The input impedance of the ADC is shown as 20k ohms so it is not 
> possible to put a large resistor in series... Please can you help?
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.