Is there any way to read the comparator's output voltage without connecting the output pin to the ADC?
I know the microcontroller has built-in comparators and I'm trying to use it as a transimpedance amplifier. So, I want to test the comparators but the Necleo-WB55 developer kit doesn't have built-in comparators.

So, I have to test it on my custom board with the STM32WB55VGY6TR microcontroller.
However, there is two big concern.
The one is that I didn't connect any output pin of the comparator to ADC in my custom board.
The other is that ADC cannot read negative voltage but the transimpedance amplifier is inverted OP-AMP. So, the output could be negative.
So, I have a question here.
Is there any way to read the comparator's output voltage without connecting the output pin to the ADC? (or is the microcontroller designed already for this purpose? because I found that it is not mandatory to assign the output pin in STM32cubeMX.
If not, can I connect the output pin to the ADC even though the comparator may generate a negative voltage?
