2019-10-13 10:13 AM
2019-10-13 12:06 PM
>>but it is not an analog one?
What does that mean?
The pin will just float in a Hi-Z state, it will track whatever external circuit you have attached to it, just don't exceed the min/max voltages specified in the data sheet.
2019-10-13 12:09 PM
I wouldn't bet on it - undefined combinations might have been optimized by the silicon compiler to a surprising result. For example, on 'F4, I've by mistake used an undefined AF for a particular pin, and it - for me quite surprisingly - turned the pin to output.
So, the short answer is "don't do it", and if you have the buying power as expressed in $M++, you can ask ST directly.
JW
2019-10-13 12:48 PM
it means that analog switch is not present on that IO
2019-10-13 12:51 PM
if I read the following application note AN4899 it's clearly stated on chapter 3.3.4 that configuring io as analog, disables input Schmitt trigger, output buffer and pu and pd.
2019-10-13 12:54 PM
i.e. PB10 which has no analog function
2019-10-13 01:03 PM
Ok, so signal goes no where, and schmitt trigger disabled
2019-10-13 01:57 PM
Quick experiment on PC11 on 'F429 DISCO revealed that changing it to Analog indeed switched off pullup and IDR did not reflect the input level anymore (whether that means that ths Schmitt trigger was switched on and/or whether this means decreased leakage, I am not going to judge).
As much as experiments are worth...
JW
2019-10-16 09:30 AM
the purpose is to configure it as analog pin before entering in stop2 in order to reduce consumption.