AnsweredAssumed Answered

K64 NVIC interrupt priorities

Question asked by John Baker on May 29, 2015
Latest reply on Jun 10, 2015 by EARL GOODRICH

I am reading conflicting information on what valid values are for NVIC interrupt priorities.  Some resources say only 4 bits (0-15), others say 0-256.  I am using the K64 processor.

 

Example usage: NVIC_SetPriority(PORTB_IRQn, 16);   

 

I am using values: 0, 8, 16, 32, 64,  and 128 for different interrupts.  I am not getting errors, but I also cannot tell if the priorities are actually working correctly either.

 

Any insight would be helpful.

 

Thanks,

 

John Baker

AVG

Outcomes