Tool/software: Code Composer Studio
Hello,
I am trying to look for an example of pwm chopper of an EPWM module in bitfield code section but it is not given. I dont want to do it with driver library code example any solution ?
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.
Tool/software: Code Composer Studio
Hello,
I am trying to look for an example of pwm chopper of an EPWM module in bitfield code section but it is not given. I dont want to do it with driver library code example any solution ?
hello,
I want to see an example to use PWM chopper of an EPWM Module for TMS320F28379D in C2000 ware v.2.00.00.03 in bitfield code sections not in driver lib section. As I am learning with bitfield examples and coding is much different in examples of driver library section, please assist asap??
Hi,
The example for chopper is not available for bitfield as of now. I would suggest you to go through the driverlib based chopper example for the required configurations and add the corresponding code in bitfield. This should be straight forward. Let me know if you face any issues.
Thanks
Vasudha
Hi,
can you please tell how the value of EPWM_4_BASE is set to 4000 and how I am getting EPWM Output 3.12 khz frequency without chopping
Hi,
The base address for peripheral instances depend upon the Device memory map. In TMS320F28379D EPWM4_BASE is 0x4300 as per the memory map. EPWM period would depend upon the sysclk, epwmclk, tbclk and TBPRD configurations in the code. Refer EPWM chapter in device TRM for more details on this.
Thanks
Vasudha