What does happen in STM32F4 if I configure an I/O as analog, but it is not an analog one? I mean, smith trigger and output buffer are disabled as well as pu and pd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-13 10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-13 12:48 PM
it means that analog switch is not present on that IO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-13 12:54 PM
i.e. PB10 which has no analog function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-13 1:03 PM
Ok, so signal goes no where, and schmitt trigger disabled
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-13 1: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-16 9:30 AM
the purpose is to configure it as analog pin before entering in stop2 in order to reduce consumption.
