I'm trying to setup an IRQ through het code that i did myself, so ticking the enabled advanced config mode.
I have putted the IRQ ON in the instruction necessary and in the main.c i altered the HETINTENAS register.
My het code is a pwm that when it matched it generates an irq. the problem is the irq is only beeing generated the first time. after that my code gets stuck in the vim parity error handler funcion and doesn't work anymore.
Help?