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.

AM263P4: SDFM PWM Trip

Part Number: AM263P4
Other Parts Discussed in Thread: UNIFLASH, TMDSCNCD263P, SYSCONFIG

Tool/software:

Hey Experts,

ive a question regarding the SDFM module. 
Iam using:
CCS 12.8.1.00005
SDK 10_00_00_35
Uniflash 8.8.1.4983
TMDSCNCD263P PROC159E2

i enabled the comperartor at the SDFM module to detect a overcurrent at the measured current.
At the moment ive got an interrupt triggered by the CEVT1 (high treshhold) which then turns of my PWM.

In the reference manual i read that i can also turn of PWM directly without an interrupt:


How do i do that? More precisely, how to configure my systemconfig, so that  SDFM CEVT1 trips my PWM?


Best Regards
Marcel

  • Hi Marcel,

    Our US team is on holiday leave on Monday. Our SDFM expert will review this topic tomorrow

    Thanks & Regards,
    Rijohn

  • Any progress here?

  • Hey Marcel,

    I am looking into this issue for you. Can you provide you current interrupt/PWM-trip configuration settings (SysConfig Screenshots + Code Snippets)?

    Best Regards,

    Zackary Fleenor

  • Hey Marcel,

    This connection would be made via the PWMXBAR. You can route SDFM COMPL/Z events to the EPWMx Digital Compare/Trip Zone event submodules.

    In SysConfig, this is done by adding an instance of EPWMXBAR from the XBAR drop down menu in the sidebar.

    Another option you may look into is utilizing the Diode Emulation Logic (DEL) block available with the Type5 EPWM. Here you could route the SDFM compare events through the OUTPUTXBAR loop them back to the INPUTXBAR, and configure the DEL module to use these as TRIPH/TRIPL signals.

    Please review this information and let me know if you have additional questions.

    Best Regards,

    Zackary Fleenor