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.

TMS320F28337D EPwmXbar5 no CBC5 trip triggered.

Hi All,

I can;t generate a TZ5 action/ I'm having a very simple testcase for triggering a trip but without result:

All mux-inputs of EPWMXBAR5 are disabled.

The TZEL.bit.CBC5 is enabled for EPWM1.

I now start (manually) toggle the EPwmXbarRegs.TRIPOUTINV.bit.OUT1, but I don't see the EPwm1Regs.TZCBCFLG.bit.CBC5 being set.

PWMs are enabled and clocksources are enabled. I can trigger CBC1 by using InputXbar1 (TrigRegs.INPUT1SELECT).

Could someone verify that this is not a HW bug and that I'm doing something wrong? Or can I only route this through the DigitalCompare module?

Best regards,

Tjarco

  • Hi Tjarco,

    Please refer to the figure which describes the GPIO MUX-to-Trip Input Connectivity  in the F28377xD TRM
    (in RevB of the TRM, it is Figure 7-6 on pg863).

    In that figure you can see that TZ1-3 can go directly into the ePWM module.  TZ4-6 do not hook into the INPUTXBAR and are instead directly connected to system management type functions. 

    As a result, all INPUTXBAR signals other than INPUT1, 2 and 3 (TZ1, 2, and 3 respectively) will need to go through the EPWMXBAR.  All signals that go through the EPWMXBAR must go through the Digital Compare Submodule to influence the PWM waveforms (this last part can be seen via the Trip-Zone Submodule Mode Control Logic, currently Figure 13-41).

    Hopefully this clarifies some of the things you are seeing.


    Thank you,
    Brett