STM32 GPIO Lecture 3 : GPIO input mode with high impedance state

GPIO input mode with high impedance state


In this article, let’s understand what precisely this high impedance state is.

 

A high impedance state is also called a Hi-Z state. It’s nothing but keeping your pin floating by not connecting to high voltage state or the ground as shown in Figure1. So, that’s why this state is also called a floating state.

After you power the MCU, by default, all the GPIO pins will be in input mode with a High-Z state or floating state, and this is true with almost all microcontrollers.

Keeping the pin in a floating state can lead to leakage current, which may result in high power consumption because a floating pin is highly susceptible to picking up the noise and may result in leakage current.

In the following article, let’s see GPIO input mode with pull-up / pull-down state

 

 

FastBit Embedded Brain Academy Courses,

Click here: https://fastbitlab.com/course1

GPIO input mode with high impedance state
Figure. GPIO input mode with high impedance state

FastBitLab

The FastBit Embedded Brain Academy uses the power of internet to bring the online courses related to the field of embedded system programming, Real time operating system, Embedded Linux systems, etc at your finger tip with very low cost. Backed with strong experience of industry, we have produced lots of courses with the customer enrolment over 3000+ across 100+ countries.