EB: how to setting priority grouping in EB?

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

EB: how to setting priority grouping in EB?

跳至解决方案
1,724 次查看
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,689 次查看
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.pngVaneB_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.pngVaneB_1-1730491228474.png

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

VaneB_2-1730491249574.pngVaneB_2-1730491249574.png

BR, VaneB

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,690 次查看
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.pngVaneB_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.pngVaneB_1-1730491228474.png

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

VaneB_2-1730491249574.pngVaneB_2-1730491249574.png

BR, VaneB

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1985607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEB%EF%BC%9A%E5%A6%82%E4%BD%95%E5%9C%A8EB%E4%B8%AD%E8%AE%BE%E7%BD%AE%E4%BC%98%E5%85%88%E7%BA%A7%E5%88%86%E7%BB%84%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1985607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%BD%93%E6%88%91%E5%9C%A8%E5%B9%B3%E5%8F%B0%E6%A8%A1%E5%9D%97%E4%B8%AD%E4%BD%BF%E8%83%BDIsr%E7%9A%84%E6%97%B6%E5%80%99%EF%BC%8C%E5%8F%91%E7%8E%B0%E6%9C%80%E5%A4%A7%E4%BC%98%E5%85%88%E7%BA%A7%E5%8F%AA%E8%83%BD%E5%88%B015%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BC%98%E5%85%88%E7%BA%A7%E8%AE%BE%E7%BD%AE%E7%9A%84%E5%A4%A7%E4%BA%8E15%E7%9A%84%E8%AF%9D%EF%BC%8CEB%E5%B0%B1%E4%BC%9A%E6%8A%A5%E4%BC%98%E5%85%88%E7%BA%A7%E8%B6%85%E5%87%BA%E8%8C%83%E5%9B%B4%E7%9A%84%E9%94%99%E8%AF%AF%E3%80%82%E6%88%91%E6%80%8E%E6%A0%B7%E6%89%8D%E8%83%BD%E5%B0%86%E4%BC%98%E5%85%88%E7%BA%A7%E8%AE%BE%E7%BD%AE%E4%B8%BA%E5%A4%A7%E4%BA%8E%2015%EF%BC%9F%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E5%9C%A8EB%E4%B8%AD%E8%AE%BE%E7%BD%AE%E4%BC%98%E5%85%88%E7%BA%A7%E7%BB%84%E3%80%82%3C%2FP%3E%3CP%3E%E8%BF%99%E9%87%8C%E6%88%91%E4%BD%BF%E7%94%A8s32k344%E5%92%8CRTD%204.0.0.0%3C%2FP%3E%3C%2FLINGO-BODY%3E