I am working on the level-shift PWM technique, which requires a high-frequency repeating sequence. For that, I am using a triangular wave source. However, when I set the frequency to 10 kHz, the output becomes constant instead of triangular. The waveform appears triangular only at 50 Hz, but for any frequency other than 50 Hz, it is no longer triangular.
What could be the reason for this behavior