cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable internal PU/PD resistor in stm32

samir2
Associate II
Posted on October 19, 2016 at 16:38

Hi everybody,

I just connected one resistor in pin PA3 of stm32f091 to read value of a voltage divider.

But when i connected this, my tension is down.

I know there are pull up and pull down internal resistor about 40 kOhms in each pin, but in output mode ou input mode, the result is the same.

Any idea ?

The register GPIOC->PUPDR is setting correctly.

Thank you
1 REPLY 1
slimen
Senior
Posted on October 19, 2016 at 17:31

Hello,

Refer to the reference manual

http://www.st.com/content/ccc/resource/technical/document/reference_manual/c2/f8/8a/f2/18/e6/43/96/DM00031936.pdf/files/DM00031936.pdf/jcr:content/translations/en.DM00031936.pdf

for more details and clarification about this topic in the '' General-purpose I/Os (GPIO) '' section.

Regards