2016-10-19 07:39 AM
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 you2016-10-19 08:15 AM
Using an ADC or looking at VIL and VIH?
Use the NOPULL setting, for analogue removing the Schmitt Trigger use also AINThe PA pins are not on GPIOCYour own custom board, or something else? Any thing else connected to the pins of interest.Please be more comprehensive with your presentation of the system, the code configuring it, and the values from the corresponding registers.2016-10-19 08:34 AM
Here a schematic of my project.
I don't use it with ADC but with Vil and Vih. I use PA3 in GPIOA
Thanks ________________ Attachments : Schematic_Prints_2_01.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I19Q&d=%2Fa%2F0X0000000bj4%2FVB4TvXcjWaUXpQf63BSXDfhMujCA_AxWwE8fDsyUgnQ&asPdf=false