I have a hardware which has a tamper circuit loop. After I set up tamper pins, I trigger tamper event by switch on/off a physical switcher. When tamper event occurred, I can see DTF bit and tamper pin's TPF bit are both set. I also set DTIE bit in IER register to enable interrupt when DTF sets. But tamper service routine,Tamper_IRQHandler, is not called.
In the KL81 reference manual, it says "The DryIce Interrupt is asserted whenever a status flag and the corresponding interrupt enable bit are both set.". Obviously, it is not happening in my case.
Can anyone give me any clues on this issue?
I didn't enable the interrupt in NVIC module. After I added these code, interrupt works.