I tested 2 sample with no connection of COMP2 with port pin PB4.
If I set INPSEL to 01=PB6 or 11=PA3 the comperator works!
(INMSEL 0011= Vrefint)
The ST Support told me that a Nucleo-64 board (LQFP64 package) would work.
For the QFP32 they dont' ...
The Cube set all register correct. I verfied this in the debugger. Only a change of the register INPSEL to 01=PB6 or 11=PA3 in the debugger mode makes it run. I get then a breakpoint if I stimulat the associated pin.
Hi Jan,I made a small COMP2 test program with the STM32CubeIDE with a rise/falling edge Interrupt. The breakpoint is set in the ADC1_COMP_IRQHandler.Case two is much more complicated to describe, I come back to the topic when the first problem is con...