2018-11-28 06:59 AM
Is it ok to leave the pins floating ?
Any other recommendation ?
2018-11-28 07:13 AM
No different than any other pin. Leaving it floating is generally not advised (especially if you care about consumption).
It's best to ground the unused pins through a 10K pull-down resistor and set them as analog inputs to disable the Schmitt triggers on the pins (which are required when the pin is in the default digital input state).
AN3430 ( https://www.st.com/content/ccc/resource/technical/document/application_note/77/74/4f/da/9b/9c/43/e7/DM00033348.pdf/files/DM00033348.pdf/jcr:content/translations/en.DM00033348.pdf ) recommends this:
2018-11-28 07:20 AM
Thanks !
I forgot to mention in my question that i meant "floating" in hardware aspect
Regarding the analog input - of course !
Thanks anyway ! :)