TMS320F28P650DK: ECAP_OUT_EN in CLB

Part Number: TMS320F28P650DK

hi experts

      May you have a nice day!

     I can see the ECAP_OUT_EN signal in both the input and output signals of the F28P65 CLB.  Is it directly mapped to a specific register flag, or is it an internal status signal generated when the ECAP is in APWM mode? 

     Which register flag do I need to configure to trigger the ECAP_OUT_EN signal within the CLB inputs? 

     Looking forward to your insights. Best wishes! 

  • Hi,
    Thanks for reaching out. It enables/disables the output of ECAP. It serves the same purpose as trip function of ePWM. It is an internal signal in ECAP. You need to write outlut4 of CLB one or zero to enable or disable the eCAP output.

    This signal can also be input for monitoring purposes
    Thanks
    Praneeth

  • Thanks for the professional reply, Praneeth.
    I ran some relevant tests on the F28P65 yesterday and found that ECAP_OUT_EN isn't controlling the ECAP output as expected.
    Here is my specific configuration:
    I set up ECAP1 in APWM mode with a period of 4999 and a pulse width of 1000, then routed it to the GPIO2 pin via the GPIO Output X-BAR. Next, I configured GPIO0 as an output and routed it to CLB1 through the CLB Input X-BAR. CLB1 doesn't process the signal at all; it simply passes the input directly to its output. I then used this CLB output to override the ECAP_OUT_EN signal of ECAP1. My goal was to toggle the GPIO0 level to see if I could control the output state of ECAP1 (GPIO2).
    However, the test results showed that changing the GPIO0 level had no effect on the ECAP1 output state. The ECAP1 output signal just kept running continuously and didn't get disabled at all.
    I can get the expected results when configuring the ECAP_OUT signal, but I can't seem to do the same for the ECAP_OUT_EN signal. Could I have misunderstood something, or is there a mistake in my configuration?