Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE
Tool/software: Code Composer Studio
Hi,
I am new to TI MCU. I have to generate PWM. I will be using ADC with different resistors for different voltages value and with the help of jumper i will decide which duty cycle and frequency has to be generated at output. I think i need timer, ADC modules and HRPWM modules for this purpose. Is there anything else that could be required?
As i will be using different voltages at ADC so by using if statement i will decide the output condidtion. Is that right way? Sould i include the if statemnt in main.c?