Tool/software: Code Composer Studio
Hello,
currently my UCD3138A part and through UART it receives a command that should go erase the data flash and update the block, through debugging I understood that eFaultMux fast interrupt gets in place and sends a wrong OVP fault and it shuts down my main output.
I am using CCS8.3 and my optimization level is at 2.
Here is my configuration for ACOMPB for OV fault:
FaultMuxRegs.ACOMPCTRL0.bit.ACOMP_B_THRESH = 114;
FaultMuxRegs.ACOMPCTRL0.bit.ACOMP_B_SEL = 0;
FaultMuxRegs.ACOMPCTRL0.bit.ACOMP_B_POL = 1;
FaultMuxRegs.DPWM0FLTABDET.bit.ACOMP_B_EN = 1;
FaultMuxRegs.DPWM1FLTABDET.bit.ACOMP_B_EN = 1;
FaultMuxRegs.ACOMPCTRL0.bit.ACOMP_B_INT_EN = 1;