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.
Part Number: TMS320F280049C
Tool/software: Code Composer Studio
Hi! I am very new to programming Ti microcontrollers and I am trying to use the epwm module in ccs. My goal is to generate a 13.56 MHz epwm signal for an inverter I have constructed, and I was wondering which example I could best use to modify and achieve this output?
You can refer to epwm and hrpwm examples available under C2000Ware as a starting point. You will have to configure the period and duty through TBPRD and CMPx registers. Let me know if you face any problem while using the examples.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Vasudha Bhadoria:
I have been using the hrpwm_ex1_duty_sof example, and I modified it to have a constant duty cycle. The way the example is written the confighrpwm method cannot take a decimal value that would enable my desired frequency output. How would i go about changing the clock speed so I can obtain a 13.56 MHz output?
In reply to Christopher Karam:
You can configure the clock by modifying the InitSysPll() available in f28004_sysctrl.c. This function is called as part of InitSysCtrl() in examples.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.