2016-09-27 01:26 PM
I've been looking in vain all day for specs on the analog input GPIO. Any help or referral to the proper docs would be much appreciated.
It's referred to as 'high impedance', but 'high' is not quantified that I can find. I'm measuring approximately 0.65V on the GPIOs in Brown Out Reset, when VDD is 2.2V.Thanks!2016-09-28 03:32 AM
Hi deyo.scott,
I suggest you have a look to the datasheet and reference manual of the product you are selecting.Please let me know if you don't find the information you are looking for there.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2016-09-28 07:09 AM
2016-09-28 11:08 AM
I googled STM32f4 adc. The third was a link to a PDF
What I remember is that you need a low impedance source because of the varying capacitive loading, not resistance.2016-09-28 11:35 AM
2016-09-29 12:13 AM
The Reference Manual RM0351 Rev 4 says,
7.3.12 Analog configuration When the I/O port is programmed as analog configuration: • The output buffer is disabled • The Schmitt trigger input is deactivated, providing zero consumption for every analog value of the I/O pin. The output of the Schmitt trigger is forced to a constant value (0). • The weak pull-up and pull-down resistors are disabled by hardware • Read access to the input data register gets the value “0� Figure 22 shows the high-impedance, analog-input configuration of the I/O port bit. (please look at the manual for the diagram). So I think there should just be small leakage currents. Also ... 1) It may not be sensible to try to measure a voltage (without looking at the current in or out of the input for various test voltages). 2) You wrote, ''ADC inputs are spec'd at 50k ohm impedance'' but that's the maximum source impedance you can use to drive the ADC to get accurate results (R Ain External input impedance). I agree it's not clear what the individual pin leakage currents might be. It looks like ST specify a device current in various modes presumably with most pins not connected and then seperately specify I/O leakage currents which look to be up to several hundred nano amps. It will probably vary across batches of devices and with temperature.2016-09-29 01:50 AM
Hi,
The pins leakage is specified in the table '' I/O static characteristics'' of the datasheet, depending on the I/O structure (FT, TT...) and VIN.So for pins used in analog mode, you have to check FT_a or TT_a characteristics.-Mayla--Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.