Question
CUBEMX issue while configuring COMP with STM32H503
When Comparator is configured, the init sequence do not generate the option for Positive input selection
one has to add this line manually, depending on the pin selected as INP.
hcomp1.Init.InputPlus = COMP_INPUT_PLUS_IO1;
or
hcomp1.Init.InputPlus = COMP_INPUT_PLUS_IO2;
or
hcomp1.Init.InputPlus = COMP_INPUT_PLUS_IO3;
and so Comparator do not work if not checked.
I am using CubeMX version 6.18.1
