Part Number:UCD3138A
Tool/software: Code Composer Studio
Hi,
I'm using fault mux module to realize protection function to shut off DPWM. however, I need protection works after a few DPWM periods. so I set a AB_MAX_COUNT. In UCD3138 Digital Power Peripherals Programmer's Manual, it says "Each fault has its own 5 bit counter, with a maximum value set by a dedicated x_MAX_COUNT bit-field. The fault lines are monitored continuously, but only one event per DPWM period is counted. If the x_MAX_COUNT value is set to 0, the first fault event will shut off the appropriate DPWM pins.The maximum number of sequential fault periods is 31, if the x_MAX_COUNT field is loaded with a 0x1f. The faults must occur sequentially. If any period completes without a fault, the counter will be reset". However, it seems do not work properly. Even the fault event shorter than the MAX_COUNT, it will shut off the DPWM. It seems that the Counter does not reset, and the delay time is not equal the set MAX_COUNT time.
can you please help to answer why it does not work. thanks.