Hello,
Is there a way to use the automatic retry function on M0PWM0 without compromising the signal of M0PWM1 when a fault occurs? I am using both of the PWM pins off of PMW Gen 0. One is set up with the fault handling configuration seen below, the other does not have/need fault handling. When I run both channels at the same time, if the one channel sees a fault, I notice 'noise' from the auto retry function on my other M0PWM1 channel. The noise follows the frequency of the auto retry on M0PWM0, but the voltage delta on the functional channel is only 2.16 volts, so it is not shutting off completely as seen with the faulting channel. I would have either expected the non-fault channel to continue functioning with no disruption from the other faulting channel or I would have thought the non-faulting channel would have had the same auto retry signal during the fault, but I did not expect this 'noise' result. Any further understanding of the auto retry function would be greatly appreciated.
ROM_PWMGenConfigure(PWM0_BASE, PWM_GEN_0, (PWM_GEN_MODE_UP_DOWN |
PWM_GEN_MODE_NO_SYNC |
PWM_GEN_MODE_FAULT_EXT | PWM_GEN_MODE_FAULT_MINPER |
PWM_GEN_MODE_DBG_STOP));
ROM_PWMGenFaultConfigure(PWM0_BASE, PWM_GEN_0, 25000, PWM_FAULT0_SENSE_LOW);
ROM_PWMGenFaultTriggerSet(PWM0_BASE, PWM_GEN_0, PWM_FAULT_GROUP_0, PWM_FAULT_FAULT0);
ROM_PWMOutputFault(PWM0_BASE, PWM_OUT_0_BIT, TRUE);
ROM_PWMOutputFaultLevel(PWM0_BASE, PWM_OUT_0_BIT, FALSE);