cancel
Showing results for
Did you mean:

Associate II

Hi everyone,

I am using the STM32C011J4M6 in the SO8N package.

I want to use the ADC on a low frequency signal (around 1kHz). My application needs to be very low power so I decided to put a big (around 100kOhms) input resistance on the ADC pin like we can see in the picture below.

The problem is that in the datasheet the maximum value of the resistance is 50kOhms.

I want to make sure that this maximum value is given only for one ADC clock frequency (35MHz in my case) and that if we lower the ADC frequency we can increase the Rain value. Am I right ? So if I use a 8MHz ADC clock, I can put a 100kOhms input resistance.

My second question is about the voltage drop across this resistance Rain. When the Cadc capacitor is charged there will be a current flowing into Rain, so there will be a voltage drop across it.

So my question is, when we increase Rain, we lower the input current in the ADC but we increase the voltage drop across Rain so we increase the error. Is it true ?

Best regards,

1 ACCEPTED SOLUTION

Accepted Solutions
Associate II

Yes I think I will put a 25kOhms resistance, I can deal with µA.

It is the voltage across a stator phase, I want to measure the speed of a generator. But the generator is really small so I don't want to consume too much current.

7 REPLIES 7
Principal III

The ADC input has no DC input current/resistance, so why you put a big resistor at the input ?

+

when we increase Rain, we lower the input current in the ADC but we increase the voltage drop across Rain so we increase the error. Is it true ?

Yes. The ADC input is capacitive and switches some 5pF or so to the input pin, every time you start a conversion.

Associate II

I put a big resistor to increase the charging capacitor time (T=RC), so the current to charge the 5pF capacitor will be lowered.

Principal III

But this will only make the input error bigger, not change the energy you need, to charge 5pF !

Charging a cap to certain dc voltage always need same energy, slow or fast doesnt matter ! (cap energy = 1/2 C*U*U says physics)

To get lower current consumption , you only can reduce the frequency of conversions and switch off the adc in between.

Associate II

I agree with you, the energy will be the same but the current spike lower if we increase the charging time. And the only way to increase the charging time here, is to increase the input resistance.

To be more precise about my application, I don't need to lower the energy that I consume but the current spikes.

So I need to find a compromise between input current spike and error.

ST Employee

Dear @Pierre75 ,

You can refer Our Application Note here

on how to optimize conversion in this case of high impedance Source .

Hope it helps you

Cheers,

STOne-32

Senior III

You do lot of complications to yourself by placing this 100k resistor in series. What a kind of voltage source it is if it doesn't tolerate switching 5pF load ? If you realy need low loading consider using opamp as buffer (some STMs have integrated one).

Associate II

Yes I think I will put a 25kOhms resistance, I can deal with µA.

It is the voltage across a stator phase, I want to measure the speed of a generator. But the generator is really small so I don't want to consume too much current.