This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SM320F28335-EP: Trip zone detection.....

Part Number: SM320F28335-EP

Is there a way to tell which trip zone pin triggered a fault?  thanks

  • Hi Mark,

    This is not possible in just the trip zone module since there is only one flag showing the status of the trip. But there could be other ways depending on how you are routing your trip zone sources in. Could you give some more context as to how you are doing so?

    Best regards,

    Allison

  • Thanks for the reply.  I have a circuit that detects and indicates 1 of 2 faults through two DSP digital inputs configured as trip zones (tz3 and tz4).  The trip zone signals are associated epwm1-3 and will turn them off one shot when a fault is detected on either.  If possible i would like to know which fault triggered the PWM diable.  thanks

  • Hi Mark, 

    When you say you would like to know which fault triggered the PWM disable, could you check the source in software after the trip has occurred? i.e. if your TZ sources come from separate GPIO digital inputs, you could check the GPIO data registers to see which GPIO/TZ have gone low (since TZ are active-low) to see what the source was. Is that something that would work for what you are trying to accomplish?

    Best Regards,

    Allison

  • thanks for the reply, i thought Bout that and yes that could work if as you said i can read the gpio input.  But how would i do it?  should i switch the pins back to gpio from special function trip zone? if yes then read it as a gpio?  Or can i read it as a gpio with the pin still setup as a trip zone? plese advise.  thx

  • Hi Mark, 

    The GPIO data registers are for the state of that pin, so no need to switch the pins back to GPIO. You can read it even if it is used in other modules/submodules such as the trip zone.

    Best Regards,

    Allison