Back to Questions
Electronics Engineering
QUESTION #11700
Question 1
A microcontroller's GPIO pin configured as output is stuck LOW despite the firmware commanding it HIGH. After confirming the code is correct, the most likely hardware cause is:
Correct Answer Explanation
Bus contention occurs when an external device (or another GPIO configured as output-low) drives the pin LOW while the MCU drives it HIGH. The resulting short-circuit current clamps the pin LOW and can permanently damage both devices. The fix is to add a series resistor or reconfigure the conflicting driver.
Sign in to join the conversation and share your thoughts.
Log In to Comment