Greetings, i'm trying to use PWM module from TM4C123GH6PMI launchpad. I have been loking the datasheet and found that there is a comparator in Count/Down mode with saw teeth to compare and generate a PWM exist, but from the ROM datasheet i can't find a way to use it.
Is it supose to use an internal signal to compare with a external signal like from ADC or other way.
I need to generate a PWM exit with a value given by my system function that comes from a PI or PID controller.
What commands should i use if possible? Is there any example i could guide on? Also want to achieve a 10kHz pwm frequency.