how can Know about the default settings interrupt priority of M0+/M4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how can Know about the default settings interrupt priority of M0+/M4

837 Views
mackkan
Contributor I

I want to know  when  not  set interrupt priority of M0+/M4,the interrupt priority of my used interrupt ?

thanks

0 Kudos
3 Replies

562 Views
ivadorazinova
NXP Employee
NXP Employee

Hello mack,

It is called NVIC - Nested Vector Interrupt Controller.

Please, check these links:

Introduction for NVIC

https://community.freescale.com/servlet/JiveServlet/previewBody/95191-102-1-7464/Kinetis%20L%20-%20N...

and Using NVIC on Cortex-M4 and Cortex-M0

Using NVIC on Cortex-M4 and Cortex-Mo

NVIC you find in Reference manual for your chip.

I hope this helps,

Best Regards,

Iva

0 Kudos

562 Views
mackkan
Contributor I

Hi,Iva

    thank you

   only set Interrupt,dont set priority,if I use PORTA .this  PORT priority is what?

0 Kudos

562 Views
Jonathan_Iglesias
NXP TechSupport
NXP TechSupport

Hi, Mack,  it depends in the board that you are using, there are 4 levels of priority (from 0 to 3) that you can use,being 0 the one that has more priority,  in the reference manual  there is a register that you can configure to set the priorities of the interruptions the (IPRx). in the  first file that Iva Sent to you,  in the page 6 there is some information about the priorities.

For example in the KL25z in the reference manual, P.52 you can find  the priority levels for the Ports and a Table that explains it.

Kl24z-Reference Manual.

Regards.

-Jonathan

0 Kudos