lpcware

GPIO Interrupt Priorities on LPC1343

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ub3r on Sun Feb 12 04:47:48 MST 2012
Hi Guys,
I currently have a radio RX servo pulse signal going to Port2, pin 1.
Im reading the pulse length using timer0 on the rising and falling edges.

I have other interrupts happening as well, however the servo timing is critical. How can i set its prioroty to the highest level.

Ive tried this:
NVIC_SetPriority(EINT2_IRQn, 3);

However i still get random timing happening when other interrupts are active.

cheers

Outcomes