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 have a question about HRPWM of TMS320F28379D.
According to following 2 URL,
It is mentioned that HR PWM mode of Piccolo DSP have Autoconv mode which have the function is Rising edge is delayed to the left, falling edge is delayed to the right.
But it seems that some DSP don't have this functions.
Does TMS320F28379D have similar functions?
#Reference URL
Hi,
I believe your question is whether the AutoConv mode is supported on TMS320F28379D. It is supported.
Please click "verify answer" button at the end of this post if this resolves your query.
Thanks & Regards
Pramod
Hi
Thank you for answering my question.
Is the AutoConv function in TMS320F28379D the same as Piccolo?
Best regards
Naoki
Hi
According to following manual page 35, it is mentioned that types of epwm.
But I cannot understand whether TMS320F28379D can control rising edge and falling edge individually in this manual.
We are checking Technical Reference Manual of TMS320F2837xD.
I want to ask following question about HRPWM.
・If Auto Conversion is ON, can't the rising and falling edges (CMPAHR, CMPBHR) be set individually?
・If SFO is enabled, will the MEP Scale factor be set automatically?
・Can SFO be enabled whether Auto Conversion is ON or OFF?
Best regards
Naoki
I would like to add to the first question.
・If Auto Conversion is ON, can't the rising and falling edges (CMPAHR, CMPBHR) be set individually?
And if the Auto conversion is OFF, can the rising and falling edges (CMPAHR, CMPBHR) be set individually?
・If SFO is enabled, will the MEP Scale factor be set automatically?
・Can SFO be enabled whether Auto Conversion is ON or OFF?
Naoki,
1. SFO can calculate the MEP Scale factor. It will even set the HRMSTEP size.
2. AUTOCONV can be ON or OFF when using the SFO. When the SFO is used, and AUTOCONV is ON, everything is made simple for you. The step size is calculated and the calculation for your HR portion of the EPWM is done automatically.
3. You can use SFO, the MEP Scale factor is calculated and you can turn AUTOCONV OFF and do the calculations manually in SW for the HR portion, as described in the TRM.
4. Can you control the RISING and FALLING edges of the same channel using CMPAHR and CMPBHR? NO, not the way you're thinking of.
For HRPWM, you set CMPA to control the CHANNELA, and the CMPAHR will also operate on CHANNEL A. Same thing for CHANNELB, CMPB, and CMPBHR.
When DUTY Control is turned on for HR module, the Rising AND Falling edges of the duty are both moving allowing to shift.This is for EPMW in UP/DOWN count mode.