2024-05-28 12:13 AM
I’m using CubeIDE and I want to internally connect peripherals to the comparators. This doesn’t appear to be supported by CubeIDE, but I’m wondering if its still supported by hardware somehow.
I’m using an STM32G4 and I see that COMP6 INP lands on PB11, which is the same pin as OPAMP6 OUT. Can a pin overlap like this enable internal routing of OPAMP6 to COMP6?
I can also see that OPAMP outputs can be mapped to ADC inputs that also fall on external pins that overlap with COMP comparator inputs. PA2 doubles as COMP2 OUT and ADC1 IN3, which can map internally to OPAMP2_VOUT. Would this work?
Similarly, I want to drive a USART RX with comparators routed internally. I see that COMP6 OUT can land on the same pin as USART1 RX. Can I make the COMP drive the USART like this?
Solved! Go to Solution.
2024-06-22 09:30 PM
As far as i know, there is no internal connection nor "pin" connection from Comparator to UART.