Assuming that I put the Rogowski coil on the secondary side in reverse, should I invert the output from the comparator from this:
void CLLLC_HAL_setupSynchronousRectificationAction(uint16_t powerFlow) { if(powerFlow == CLLLC_POWER_FLOW_PRIM_SEC) { ... ... CMPSS_configHighComparator(CLLLC_ISEC_TANK_CMPSS_BASE, CMPSS_INSRC_DAC | CMPSS_INV_INVERTED); CMPSS_configLowComparator(CLLLC_ISEC_TANK_CMPSS_BASE, CMPSS_INSRC_DAC); ... ... } }
to this:
void CLLLC_HAL_setupSynchronousRectificationAction(uint16_t powerFlow) { if(powerFlow == CLLLC_POWER_FLOW_PRIM_SEC) { ... ... CMPSS_configHighComparator(CLLLC_ISEC_TANK_CMPSS_BASE, CMPSS_INSRC_DAC); CMPSS_configLowComparator(CLLLC_ISEC_TANK_CMPSS_BASE, CMPSS_INSRC_DAC | CMPSS_INV_INVERTED); ... ... } }
or it will always give incorrect (inverted signal for tripping EPWM?