Hello,
I'm working with an F2806 mcu, I've some problem with the external interrupt XNMI.
I have to timestamp the edge of an external signal, so I set the XNMI for this purpose (connected to int13, not to nmi) but the counter XNMICTR doesn't reset to zero when the edge occurs. The edge rises the int13 interrupt request but has no effect on the counter.
If I use XINT1 or XINT2 with exactly the same initialization everything is ok, so it seems that XNMI behaves differently, but in the manual the three counters have the same behaviour.
I want to use XNMI because XINT1 and XINT2 are already in use.
TMS320F2806 running at 100MHz (10MHz external oscillator, pll 10x)
Peripherals running from High speed clock and Low speed clock both at 100MHz
Watchdog disabled
Timer 0 and Timer 1 enabled.
Enabled peripherals: SPIA SPIB SPID PWM1-6 ADC QEP1-2
Programmed entirely in assembly, no DSP/BIOS nor SYS/BIOS
XNMI initialization:
XNMICR = 0x0003 (I have the same problem with XNMICR = 0x000b and XNMICR = 0x000f)
GPIOXNMISEL = 0x0010 (qualification for GPIO16: synchronous to SYSCLKOUT)
The external signal has a single falling edge that I need to timestamp.
Thank you in advance for any info.