Clarification on Multi-Core Access in S32K358 (Core0 and Core2)

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

Clarification on Multi-Core Access in S32K358 (Core0 and Core2)

ソリューションへジャンプ
1,363件の閲覧回数
GaneshBhagwat
Contributor IV

Hi NXP Community,

I’m working on a project using the S32K358 and have a couple of general clarifications regarding dual-core (Core0 and Core2) behavior, particularly around peripheral and interrupt access. Based on my observations, I’d like to confirm the following points or understand if there are any known limitations or workarounds:

 

Q1: Interrupt Vector Access (e.g., PIT0_IRQn)

Is the interrupt vector/handler specific to each core?

For example, if I configure and use PIT0_IRQn in Core0, I am unable to access or use the same interrupt in Core2.

Is this expected behavior due to interrupt routing or core-specific limitations? Can the same interrupt be handled by both cores, or only one?

GaneshBhagwat_0-1747899324302.pngGaneshBhagwat_0-1747899324302.png

 

Q2: SIUL2 Pin Input Access from Multiple Cores

If I configure a pin (e.g., through SIUL2) as a digital input in Core0, is it possible to also configure and read the same pin in Core2?

Will both cores be able to read the same input pin simultaneously, or should only one core handle this configuration and access?

I tried configuring the same pin for input on both cores and did not encounter any hard faults or build-time errors, but I want to be sure if this is a supported use case or if it could cause issues at runtime.

 

I would appreciate any clarification or documentation references you can provide on these multi-core interaction aspects. If there are recommended best practices or limitations, that would also help in planning the architecture accordingly.

Thanks in advance!

0 件の賞賛
返信
1 解決策
1,326件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

You should configure XRDC, which manages access control between masters (cores and noncore masters) and targets (memories and peripherals) by placing them in virtual groups called domains.

For more details, please refer to Chapter 19 Extended Resource Domain Controller (XRDC) or reference manual.

Hope it helps you.

Have a nice day!

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,327件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

You should configure XRDC, which manages access control between masters (cores and noncore masters) and targets (memories and peripherals) by placing them in virtual groups called domains.

For more details, please refer to Chapter 19 Extended Resource Domain Controller (XRDC) or reference manual.

Hope it helps you.

Have a nice day!

0 件の賞賛
返信