I would like to use N2HET to generate a PWM output that has a lower frequency triangle wave modulation. I can generate a sawtooth easily but need help with a triangle because the count direction needs to reverse..
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I would like to use N2HET to generate a PWM output that has a lower frequency triangle wave modulation. I can generate a sawtooth easily but need help with a triangle because the count direction needs to reverse..
Check out this application note and associated code example (link included inside pdf) for generating a trapezoidal / triangular wave using N2HET.