embedded
config_error
ai_generated
true
HAL_GPIO_Init: pin already configured for alternate function
ID: embedded/gpio-pin-conflict
82%Fix Rate
86%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 32 | active | — | — | — |
Root Cause
GPIO pin assigned to multiple peripherals.
genericWorkarounds
-
90% success Check pin assignment in CubeMX or reference manual alternate function table
-
88% success Remap peripheral to non-conflicting pins if available
Dead Ends
Common approaches that don't work:
-
Force reconfigure pin without checking
82% fail
Breaks other peripheral silently
-
Disable conflicting peripheral entirely
75% fail
Loses needed functionality