The GPIO output before initialization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-26 5:31 PM
We are developing a device using the STM32H743.
We are setting up the GPIO during initialization, but I am wondering about something.
What is the GPIO output before initialization? Is it high impedance?
Or does it change depending on the circuit connected to the STM32H743?
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-27 12:07 AM - edited ‎2024-12-27 2:32 AM
Sorry I didn't understand your last question.
After reset it's set to Analog input and it's in high impedance state (from RM0433):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-26 11:55 PM - edited ‎2024-12-27 12:03 AM
Hello,
After reset it's analog input:
After reset the output is normally set to 0:
If you need to set it at a specific value on the initialization stage, set the value of the pin on ODR or BSRR register then configure the GPIO as output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-26 11:57 PM
Thank you for your answer. I see, analog input!
Is it floating as an electric potential?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-27 12:07 AM - edited ‎2024-12-27 2:32 AM
Sorry I didn't understand your last question.
After reset it's set to Analog input and it's in high impedance state (from RM0433):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-28 7:45 AM
And if you need a specific pin state during reset and before initialization, you need an external PULL resistor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-05 3:33 PM
Thank you for your reply.
I understand the specifications now, so I will close this.
