Hello, I have been going through the build steps of the IDDK systems and had several issues with the HVDMC_Protection module.
1. I am getting false trips from LEM and SHUNT comparators. I am not even using the LEM current module but if I leave the LEM trip enabled it trips on BUILD2 when I increase the Vqtesting by a small amount. I tested this by disabling all the other trip modules except the LEM. I also have the same false trips when using only the SHUNT comparator trip. In BUILD2 when I increase Vqtesting to .12 from .1 I get the trip. The current in the graph window is not anywhere close to the limits set. I increased the limits to like 6 and 4090 and still get the trips.
2. I posted on another forum about how I thought the INPUT1SELECT from pin 40 the hardware trip should be set to input 2 of MUX1 not input 1 (i.e. EPwmXbarRegs.TRIP4MUX0TO15CFG.bit.MUX1 = 2 not 1). However when I make this change in the code, the hardware still trips like I would expect but the trip flag is not raised. If I clear the trip flag then the inverter is reset and begins working again even though the trip flag itself was never set. Why is the trip flag not triggered when I change the input of MUX1 from 1 to 2 and can you verify that in fact the input to MUX1 should be input 2 not 1?
Thanks,
Adam