Hi,
An Opamp is an Opam, a Comparator is a Comparator. They have different features although the symbol us the same.
If you use one for the other's function it calls for problems.
trigger the output when the inverting input is less than 80% of the non-inverting input.
No. A comparator always switches when both inputs are (almost) identical.
You rather talk about Vout and Vout2.
With Vout = 32V the switching points are: 25.6V and 24.5V (about 1.15V hysteresis)
Circuit issues:
* the power supply Vout needs a bulk capacitor and a fast ceramics at every IC supply pin.
* R5 is useless in combination with a RR push pull output.
* with pp oscillation of 1.4V at noninverting input ... it is expected to oscillate ( higher than hysteresis)
* I expect the problem is, that your Vout supply is not stable I expect it to have a pp oscillation of about 3V.
You don't tell about oscillation frequency.
I expect it to be anywhere inbetween 100 Hz and some kHz.
If it's much higher then the problem is else where.
Klaus