Skip to main content
KHarb.1
Senior
August 3, 2026
Question

Can STM32G COMP external outputs be used to drive UART RX if they land on the same pin?

  • August 3, 2026
  • 1 reply
  • 16 views

a

1 reply

ST Technical Moderator
August 3, 2026

Hi ​@KHarb.1 

I saw your post 2 years ago here Can overlapping IN\OUT pins be used to internally route peripherals on STM32G4? | Community

I’m still not sure if you missed to provide more details in this pos. 

To answer your question directly: No, STM32G4 COMP external outputs cannot internally drive UART RX on the same pin just because the two functions overlap there; you must use another routing method, typically an external wire. So, IN/OUT pin definitions do not create an internal hardware route by themselves 

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