cancel
Showing results for 
Search instead for 
Did you mean: 

ADC vref issue

silicon2
Associate II
Posted on February 28, 2011 at 10:39

ADC vref issue

4 REPLIES 4
Posted on May 17, 2011 at 14:26

Perhaps it would be useful to specify the part you are using and how you have it wired?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
silicon2
Associate II
Posted on May 17, 2011 at 14:26

Hi,

I am using stm32f103 (64 pins - without external Vref ). All supply pins are connected to Vcc and all Gnd pins to gnd. I have 3.3 Vcc.

r,S

Posted on May 17, 2011 at 14:26

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6Zv&d=%2Fa%2F0X0000000br5%2FnNgYHUBAQJAmyX21RWGGfDue11uJheF_QIijt8bXsek&asPdf=false
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
silicon2
Associate II
Posted on May 17, 2011 at 14:26

Hi,

I tested like you did. And I get

VREF value1 1521                                                                

VREF value2 1560

VREF value_1_32 1559 

I figure out that I have to place this statement 

/*! Enable Vrefint on channel 17 */

ADC_TempSensorVrefintCmd(ENABLE);

After ADC_DeInit(ADC1);

Then is no changes if I put upper statement(ADC_Temp) beside

ADC_Cmd(ADC1, ENABLE);

or after calibration.

I check the manual and see that I have to place it beside ADC_Cmd(ADC1, ENABLE);

thank you

r,S