Thanks, ataradov.
3 days I try to start the comparator and it does not work.
The interrogation mode is continuous, I try to apply a voltage of 3.3 V to pin PA04(for the test).
In interrupting (by raising), I increase the counter by 1,
and in the main cycle I light the LED for 200 ms.
Does not work.