Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi!
I am working on having the CMPSS routed through a PWMXBAR to trip a PWM.
Everything is routed and working as expected when I have the CMPSS enabled, the pwmxbar enabled, and the epwm running. If the ADC input goes out of the CMPSS bounds, the PWM will trip (good!).
My trouble comes when I disable the CMPSS module, even with the ADC input in bounds of the CMPSS (just floating), the PWMXBAR will automatically trip the EPWM.
So, with CMPSS enabled, PWMs are running happy when the ADC is in bounds of the CMPSS. Then without changing the ADC input, just changing the syscfg to disable this CMPSS and recompiling + reprogramming, the PWMs halt upon boot.


My ultimate goal is to have software outside of syscfg to be the final decider if each CMPSS should be enabled or be left disabled (which I want as the default). For that to work, the default of a disabled CMPSS must function as expected. I could add/remove CMPSS to the PWMXBAR source, but that seems a bit like a hack. Thoughts?
Thanks!