EB: how to setting priority grouping in EB?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

EB: how to setting priority grouping in EB?

跳至解决方案
1,058 次查看
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 项奖励
回复
1 解答
1,023 次查看
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 项奖励
回复
1 回复
1,024 次查看
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 项奖励
回复