Skip to main content
BHell.1
Associate II
October 5, 2022
Solved

STM32H750XBH6 Unused pins = Unconnected pins. Is it ok to only leave them floating? I prefer to not to connect them to GND ?

  • October 5, 2022
  • 7 replies
  • 1663 views

..

This topic has been closed for replies.
Best answer by waclawek.jan

AFAIK, GPIOx_ASCR is only in the 'L47x/'L48x. so not even in all 'L4.

JW

7 replies

Tesla DeLorean
Guru
October 5, 2022

Yes

If configured as analogue inputs the schmitt trigger digital input buffer is disconnected, so it shouldn't oscillate

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Technical Moderator
October 5, 2022

Hi @Björn Erik Hellerstedt​,

As mentioned by @Community member​, you can find AN4899 in section 7 in that unused pins should be configured as analog input as it reduces power consumption. Also, in section 6, it is recommended to avoid floating unused pins. You should either connect them to ground or to VDD.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Nikita91
Lead II
October 5, 2022

Hi @F.Belaid​ ,

I read the AN4899 (rev3 mar 2022), and it mentions the register GPIOx_ASCR in multiple places.

What is this register? I cant found it in RM of F1, F4, G4, H7.

It is not mentioned in the section 2.2 Register abbreviations.

Technical Moderator
October 5, 2022

Hello @Nikita91​, 

First, GPIOx_ASCR register is specific to some series. For example, you can find it in L4 Reference Manual section 8.5.12. This register is used to configure the analog connection of the IOs to the ADC input.

Second, AN4899 note is applicable to all ST MCUs.

0693W00000UnQhYQAV.png

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
waclawek.jan
waclawek.janBest answer
Super User
October 5, 2022

AFAIK, GPIOx_ASCR is only in the 'L47x/'L48x. so not even in all 'L4.

JW

Nikita91
Lead II
October 5, 2022

Thanks, I learned something.

In fact, this concerns more the use of analog devices than the configuration of GPIO, and this may be why the application note does not talk about it much.

Technical Moderator
October 6, 2022

Indeed @Community member​. Thanks for the clarification.

Please @Björn Erik Hellerstedt​ if your question is answered, please close this topic by choosing Select as Best.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL