EB: how to setting priority grouping in EB?

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

EB: how to setting priority grouping in EB?

Jump to solution
1,056 Views
vivid_
Contributor I

When I enable Isr in platform module, then I found the maximum priority only up to 15, if the priority is set to greater than 15, then EB will report a error that the priority out of range. how can I set the priority greater than 15? And I want to know whether I can set the priority group in EB.

Here I use s32k344 and RTD 4.0.0.0

0 Kudos
Reply
1 Solution
1,021 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @vivid_ 

In the S32K3xx Reference Manual, it is stated that there are 16 priority levels configurable in 4 bits in IRQn fields in NVIC IPRn registers.

According to NVIC_SetPriority(), the 4 less significant bits in IRQn fields in NVIC IPRn registers are not implemented.

VaneB_0-1730491154457.png

Whith the above information, the Table 4-18 (Priority grouping) of the ARM Cortex-M7 Devices Generic User Guide, can be understood in this way:

VaneB_1-1730491228474.png

In addition, about priority grouping, a function is also provided, see the following image.

VaneB_2-1730491249574.png

BR, VaneB

View solution in original post

0 Kudos
Reply
1 Reply
1,022 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @vivid_ 

In the S32K3xx Reference Manual, it is stated that there are 16 priority levels configurable in 4 bits in IRQn fields in NVIC IPRn registers.

According to NVIC_SetPriority(), the 4 less significant bits in IRQn fields in NVIC IPRn registers are not implemented.

VaneB_0-1730491154457.png

Whith the above information, the Table 4-18 (Priority grouping) of the ARM Cortex-M7 Devices Generic User Guide, can be understood in this way:

VaneB_1-1730491228474.png

In addition, about priority grouping, a function is also provided, see the following image.

VaneB_2-1730491249574.png

BR, VaneB

0 Kudos
Reply