lpcware

Default interrupt priority is high?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by micrio on Tue Oct 09 10:07:52 MST 2012
Apparently the default interrupt priority is set to the maximum; 0.   The interrupt  priority registers 0-7 are all reset to zero.   This sets all interrupts to maximum priority.   Thus there is no use in;
NVIC_SetPriority(EINT2_IRQn, 0);

unless you set everything else to a lower priority.   I have been banging my head on this for a while, now I know.

Outcomes