I want to see triangle carrier while generating ePWM using DAC. How to write pwm counter register value into dac output register.
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 want to see triangle carrier while generating ePWM using DAC. How to write pwm counter register value into dac output register.
Hi Saran,
How to write pwm counter register value into dac output register.
You'll need to write the value of TBCTR at a periodic rate to the DACVALS 12-bit register. To write the TBCTR value at a periodic rate you can use a CPU interrupt or utilize the DMA.
Best Regards,
Marlyn