Is it ok to keep unused pins of STM32G071C8T6 controller floating?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-06 1:45 AM
Hello,
In one of my application, I am using stm32g071c8t6 controller and 10-pins of controller are not utilized. I am having space constraint in PCB layout. Will it be fine if I keep all unused pins floating instead of pulling up/down using resistor?
- Labels:
-
GPIO-EXTI
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-06 2:28 AM
Yes, it's perfectly fine, as long as the pins that matter (power, NRST, BOOT0, etc.) are correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-08 8:06 AM
Hi @VSira​ ,
The answer to your question is in AN5096: Getting started with STM32G0 Series hardware development. Here an extract:
-Amel
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-08 2:56 PM
If power consumption matters to you, make sure they are not floating inputs. Thankfully you don't need an external resistor to do this. Setting their mode as push-pull (low) is probably the most secure method (which will still allows you to use them as diagnostics later if needed - rather than physically connecting them to ground). I've had cases where using the weak internal pull-down (with input mode) still caused unexpected current consumption.
