AM2634: PWMXBAR status

Part Number: AM2634

Tool/software:

Follow up to -  AM2634: How to detect CMPSS or SDFM comparator triggered PWM XBAR 

If you configure CMPSSA, syscfg shows it will be grouped to group 1, CMPSSB to group 2, and SDFM EVT to group 3

SOC_xbarSelectPWMXBarInputSource(CSL_CONTROLSS_PWMXBAR_U_BASE, 0, ( EPWM_XBAR_CMPSSA0_CTRIPL ), ( EPWM_XBAR_CMPSSB0_CTRIPL ), ( EPWM_XBAR_SD0_FILT1_EVT1 | EPWM_XBAR_SD1_FILT0_EVT1 ), 0, 0, 0, 0, 0, 0);

How can I use SOC_xbarGetPWMXBarOutputSignalLatchedFlag() to know which CMPSSA, which CMPSSB, or which SDFM Comparator caused the PWMXBAR to trigger?

software-dl.ti.com/.../group__DRV__SOC__XBAR__MODULE.html

Thanks!
  • Hey Justin,

    Thanks for reaching out. I have assigned this to our XBAR SW/API owner to address your question. Please allow them some time to review and provide a response.

    Best Regards,

    Zackary Fleenor

  • Thanks Zack,

    Quick update here - I've tested multiple CMPSSAs and CMPSSBs and they all result with SOC_xbarGetPWMXBarOutputSignalLatchedFlag() returning a latched value of 8 after a CMPSS fires. There doesnt seem to be traceability to which CMPSSA or CMPSSB or SDFM comparator triggered the PWMXBAR.

    Thoughts?

    Thanks!