Tool/software:
Hi,
I have been working on setting up some hardware fault detection using XBAR + CLB. I have the following signals
Input 0 -> goes high = fault
Inputs 1-3 -> goes low = fault
I would like these faults to trigger and ISR so i can force trigger a TZ on my ePWM modules. So far, I have routed these inputs into the CLB tile using XBAR (I can see them toggling in the CLB_DBG_OUT_2 register) and put them into LUT0 with the following logic (i0) | (~i1) | (~i2) | (~i3).
If i manually trigger one of the faults, I cannot see the LUT40_OUT being set but my HLC continously sends an interrupt request using ePIE using the INTR11 instruction (set to be triggered during an event 0). I cannot get this isr to stop triggering. Here is the routine to show that I am clearing and acknowledging the interrupt.