Skip to main content
samir2
Associate II
October 19, 2016
Question

How to disable internal PU/PD resistor in stm32

  • October 19, 2016
  • 1 reply
  • 634 views
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
    This topic has been closed for replies.

    1 reply

    slimen
    Visitor II
    October 19, 2016
    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