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.

TMS320F28P650DK: ECAP Signal Monitoring Unit shadow load cannot be triggered by EPWMx.GLDLCSTRB

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi,experts!

    may you have a nice day!

   when I use ECAP Signal Monitoring Unit, I want shadow to active register load  triggered by EPWMx.GLDLCSTRB. but can't get the right result.

   is there examples code or use guide file about it?

  • Hi Kian,

    Let me follow up with our design team on this.

    Best regards,

    Ryan Ma

  • Hi Kian,

    I am still following up with our team to provide you the information. 

    Best regards,

    Ryan Ma

  • thanks for your work on this, Ryan. Looking forward to your reply.

  • Hi Kian,

    Still following up, apologize for the delay.

    Best regards,

    Ryan Ma

  • hi, Rayan,

    in the C2000WARE f28p65 driverlib, I find that the bitfield description of  MUNIT_COMMON_CTL[GLDSTRBSEL] and [TRIPSEL] is same.

    and I can not get the GLDSTRBSEL function run by the bitfield description, is anything I missed or not understand?

  • Hi Kian,

    So GLDSTRBSEL selects which global load strobe to be used for the min/max shadow to active registers.

    TRIPSEL is actually used to disable the signal monitoring unit while the PWMs or whatever signal you are monitoring are tripped.

    I am confirming with our design team what are the actual connections to GLDSTRBSEL / TRIPSEL as the table for these connections seem to have not been included in the TRM.

    For now, what you can try is to write to MUNIT_x_SHADOW_CTL.SWYNC to load the shadow to active registers via software. Set SYNCI_EN = 1, and LOADMMODE = 1.

    I have been actively following up with the team internally apologize for this delay. 

    Best regards,

    Ryan Ma

  • Hi, Ryan

    In recent days, we tested the method you suggested. While it can achieve the LOAD function, it still cannot replace the GLD method. We would like to proceed with testing using the GLDSTRBSEL method. 

  • Hi Kian,

    Yes, I am working with our team to confirm the connections to GLDSTRBSEL. They are working on getting this list and we can update you on it.

    Thank you for your patience.

    Best regards,

    Ryan Ma

  • Hi Kian,

    I was able to confirm with our design team on the following.

    MUNIT_COMMON_CTL.GLDSTRBSEL register description needs to be updated to reflect the following. 

    Global load strobe select to enable shadow to active loading

    0x0 : Disabled with SOC level tieoff.

    0x1 to 0x7F : 

    0x1 : EPWM1 Global Load Strobe configured in EPWM1's GLDCTL.GLDMODE
    0x2 : EPWM2 Global Load Strobe configured in EPWM2's GLDCTL.GLDMODE
    so on...

    Could you try this on your end to confirm if the global load strobe from your ePWM instance is loading the eCAP's shadow registers properly?

    Best regards,

    Ryan Ma

  • Hi, Ryan 

    I try the LOAD function under the EPWM1 Global Load Strobe condition. The test has achieved the expected results. it work well. Thank you very much for your continuous attention and efforts regarding this matter over the past few days. Wish you a wonderful day!