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.
Hello,
Hello, Can the high-resolution period control of TMS320F28379D be used to generate a 6.78MHz clock with 75% on-duty ratio?
Thank you in advance
Hi Zhu,
For specific HRPWM frequency information, please refer to the device datasheet sections 6.11.2.2 ePWM Electrical Data and Timing and 6.11.4 High-Resolution Pulse Width Modulator (HRPWM):
You PWM frequency is dependent on several parameters such as your clock frequency (EPWMCLK), clock dividers, count mode (up/down/up-down), period value (TBPRD), etc. The duty cycle is dependent on what event(s) you use to signal your PWM frequency to go high/low (such as CMPA/CMPB/CTR=/CTR=PRD etc.).
Here are some helpful resources for EPWM usage with calculation examples you can use in determining your PWM configuration for this such as:
For HRPWM, there are some example HRPWM calculations in the device TRM as well, such as 15.14.1.5.2 Scaling Considerations.
Best regards,
Allison