[En-Nut-Discussion] EXTI on STM32

Achim achim_muc1971 at gmx.de
Mon Mar 3 11:02:04 CET 2014


Hi all,

i´m trying to get the EXTI for pin 3 of port C running...

 
NutRegisterIrqHandler( &sig_INTERRUPT3, (void *)&PinChange, NULL);
AFIO->EXTICR[0] = 0x02 << (4 * 3); // Pin C3
EXTI->IMR = 0x08;
EXTI->RTSR = 0x08;
NutIrqEnable( &sig_INTERRUPT3);

When enabling the Interrupt the program stucks at IntBusFaultHandler. Any
idea what´s wrong?

Regards,

Achim




More information about the En-Nut-Discussion mailing list