2008-07-30 03:05 AM
high Z inputs
2011-05-17 03:40 AM
2011-05-17 03:40 AM
yes, that's the best option for analog pins, which are not 5V tolerant.
for other pins you could set them to input mode and risk problems if the input voltages are not digital. however maybe the schmitt triggers on these non-analog pins can also be turned of by configuring the pins as ''analog''. this would be a very good option to handle unused 5V pins. I asked about this a while back but no one from ST answered. if it's important someone could test it: hook a resistive divider to several 5V pins and compare power consumption with the pins in input and analog modes.2011-05-17 03:40 AM
Hi,
This is correct [ very quick one :) ] , In the Reference Manual RM0008 from ST this mode is called : High impedance-Analog Input, See Section : 7.1.10 Analog input configuration When the I/O Port is programmed as Analog Input Configuration: � The Output Buffer is disabled. � The Schmitt Trigger Input is de-activated 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. � Read access to the Input Data Register gets the value “0�. The Figure 15 on page 101 shows the High impedance-Analog Input Configuration of the I/O Port bit. When reading this input, you gets 0. Warmest regards, Magigimix.