How to make stm32 MCU capture the triangle wave of oscilloscope
The simplest method is to sample the waveform through AD port, calculate various parameters of triangular wave, or convert triangular wave signal into integral circuit in external circuit. The ascending hypotenuse is one level, and the descending hypotenuse is another level, so it can be captured by INT interrupt.