S32K3 Interrupt names and handlers, how to configure

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

S32K3 Interrupt names and handlers, how to configure

618件の閲覧回数
Hareesh_S
Contributor II

Hello,

I am relatively new to developing with the S32K3 and it's accompanying RTD (using RTD 6 RFP currently).

I am confused by the interrupt control driver (IntCtrl_Ip) configuration.

I vaguely recall coming across a table in NXP's documentation that described what each IRQn signified (For example FlexCAN0_0_IRQn vs FlexCAN0_1_IRQn) under the "interrupt name" column, but I cannot seem to find it again in the reference manual or user manuals for the IntCtrl_Ip driver or the related drivers (such as FlexCAN and Siul2_Icu in my example), so I was hoping someone in the forum could point me in the right direction to find this documentation?

Hareesh_S_1-1752171435523.png


Additionally, How do I know which handler to assign for the interrupts? So far I have been able to figure it out based on example projects and knowledge base posts, but for future reference, is there a list of all the predefined handlers that I should be using/is there any documentation that mentions this, as I am not able to find any myself.

Much thanks in advance for the assistance.

0 件の賞賛
返信
4 返答(返信)

608件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Hareesh_S 

You can refer to the S32K3xx_memory_map.xlsx file, which is included as an attachment in the S32K3xx Reference Manual. This document provides a detailed list of the available device-specific interrupts. Additionally, you can consult the S32K3xx_COMMON.h file for your specific device, which contains an enumeration of the device-specific interrupts, including their names and numbers.

Regarding interrupt handlers, most are already defined. You can find the relevant definitions for each driver in the corresponding Driver Integration Manual, specifically in the section titled "ISR to configure within AutosarOS - dependencies." These manuals can typically be found in paths such as:

C:\NXP\S32DS.3.6.0\S32DS\software\PlatformSDK_S32K3\RTD\Can_43_FLEXCAN_TS_T40D34M50I0R0\doc

Please note that the exact path may vary depending on the driver and the installation directory of your S32 Design Studio instance.

 

BR, VaneB

582件の閲覧回数
Hareesh_S
Contributor II

Hello @VaneB,

Thank you for the response, this was indeed what I was looking for! Did not know the driver integration manual was even a thing!

On a side note, random question, but what does the prevalence of "43" signify? I see it in a lot of the driver names, such as CAN, LIN, mem etc.

0 件の賞賛
返信

576件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Hareesh_S 

The "43" refers to NXP’s AUTOSAR vendor ID, which is 0x002B in hexadecimal or 43 in decimal (AUTOSAR-Vendor ID). This naming convention helps distinguish vendor-specific implementations of AUTOSAR modules.

571件の閲覧回数
Hareesh_S
Contributor II

@VaneB That makes sense, thank you for the clarification and the assistance so far!

0 件の賞賛
返信