This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf51822's original interrupt priority

Hi everyone, I want to know the original interrupt priority of nrf51822, without using soft device or using NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority). I also want to know whether can I find this priority information through the nrf51822's datasheet or not. Thank you.

Parents
  • Hi,

    It does not appear that the interrupt default priority levels are discussed in the nRF51 reference manual. This is appropriate because this is really defined by ARM and not Nordic. If I read the online ARM Cortex M0 information at the ARM Information center correctly interrupts and exceptions will all start with a priority level of 0. There is an exception for the Reset, HardFault, and NMI exceptions that have a fixed negative priority (lower priority number = higher priority).

    Regards, John

Reply
  • Hi,

    It does not appear that the interrupt default priority levels are discussed in the nRF51 reference manual. This is appropriate because this is really defined by ARM and not Nordic. If I read the online ARM Cortex M0 information at the ARM Information center correctly interrupts and exceptions will all start with a priority level of 0. There is an exception for the Reset, HardFault, and NMI exceptions that have a fixed negative priority (lower priority number = higher priority).

    Regards, John

Children
No Data
Related