1985607_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

1985607_en-US

1985607_en-US

EB: how to setting priority grouping in EB?

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

Re: EB: how to setting priority grouping in EB?

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

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 03:32 PM
更新者: