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.

TMS320F28379D: About HRPWM of TMS320F28379D

Part Number: TMS320F28379D

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

https://e2e.ti.com/support/archive/jp/f/894/t/234835?HRPWM%E3%81%AF%E4%B8%89%E8%A7%92%E6%B3%A2%E3%81%AE%E7%AB%8B%E4%B8%8A%E3%82%8A%E3%81%A8%E7%AB%8B%E4%B8%8B%E3%82%8A%E4%B8%A1%E6%96%B9%E5%8B%95%E4%BD%9C%E3%81%97%E3%81%BE%E3%81%99%E3%81%8B#pi320995filter=all&pi320995scroll=false

 https://e2e.ti.com/support/archive/jp/f/894/t/340192?Piccolo%E7%B3%BBMCU-F280xx-Up-Count%E3%83%A2%E3%83%BC%E3%83%89-%E4%B8%A1%E3%82%A8%E3%83%83%E3%82%B8HRPWM%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6

  • 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

  • Any device with Type4 epwm.

  • 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.

    www.ti.com/lit/spru566

    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.