AnsweredAssumed Answered

STM32F051 Comparator inverting input

Question asked by Gizmo on May 5, 2014
Latest reply on May 30, 2014 by Amel N

I use the comparator module of a STM32F051.
The problem is that I need to change the input pin of the inverting input on the fly. In the datasheet, for COMP1 module, the input pins PA0, PA4 and PA5 are possible solutions (they are listed in the table of pin definitions as additional functions). Also in the MicroXplorer Tool, for COMP1 module, I can choose between Pin PA0, PA4 and PA5.
In the reference manual Rev4 (page 229), these three pins are listed as possible inverting inputs.
In the reference manual Rev5 (page 271), PA4 and PA5 are listed with the comment that the DAC must be enabled. And in the StdLib, when initializing with the COMP_InitTypeDef, I have no option to chose between these inputs.

My question now:
Is it possible to use COMP1 module with changing inverting input pin (PA0, PA4 and PA5) without the use of the DAC?

Thank you for support.