Other Parts Discussed in Thread: HALCOGEN
Hello there,
I was trying to activate the interrupts generation for N2HET1 for Level 0 (high priority), but couldn't get it to the defined ISR.
I've the following setup:
L00 CNT ... L01 WCAP with irq=ON L02 WCAP with irq=ON
Wanting to generate interrupts from L01 and L02 on input signal's rising edges. HET1 RAM programmed correctly (see all 3 instructions in the debugger).
When breaking under the debugger (IAR EWARM v7.x), I've the following registers setting:
REQENASET0 = 0x0018080F (HET1 Level 0 interrupt enabled at interrupt channel 10) HET1PFR = 0x00000200 (VCLK2=100 MHz: hr=1, lr=4)
HET1PRY = 0x00000006 (high priority for L01 and L02 - level 0) HET1INTENAS = 0x00000006 (interrupt enabled for L01 and L02) HET1FLG = 0x00000002 (interrupt L01/L32/L64... was generated) HET1OFF1 = 0x00000002 (confirmation of L01 interrupt pending)
All other interrupts (normal IRQ and FIQ) are working great.
Am I missing something somewhere?
Thank you for your support.