2160009_en-US

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

2160009_en-US

2160009_en-US

External GPIO interrupt example in S32k3

Hi there,

I'm trying to execute simple external GPIO interrupt in S32K3X4EVB-Q172 using push button SW5

I'm followed the https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/SIUL2-external-interrupt-example-proje...


This is main file

AntoZ_0-1756390127775.png


But i'm getting an error as "SIUL2_ICU_IP_INSTANCE" not declared and other errors too

AntoZ_1-1756390147256.png


AntoZ_2-1756390232668.png

SIUL2 INSTANCE is configured as 0 but its not updated in respected file

AntoZ_3-1756390319411.png


Am I missing something in configuration,

Can anyone help this or any example available for GPIO interrupt with push button and led toggle with S32K3X4EVB-Q172 board


The project folder is attached bellow , I'm using RTD 5.0.0.




Re: External GPIO interrupt example in S32k3

Hi @AntoZ 

This HOWTO was implemented using RTD version 2.0.0, and several changes have been introduced in subsequent releases. As a result, some discrepancies may appear when following the instructions with newer versions.

The Siul2_Icu_Ip_Init() function error message is displayed due to a mismatch in the expected configuration parameter. The parameter passed to the function does not exist under the expected name—it was generated with a different identifier.

For example, instead of using: Siul2_Icu_Ip_0_Config_PB_BOARD_InitPeripherals. You should use: Siul2_Icu_Ip_0_Config_PB. This correct configuration can be found in the Siul2_Icu_Ip_SA_PBcfg.h file.

For better reference, I recommend reviewing the Siul2_Icu_Ip_BlinkLed_S32K344 example. It implements the same application as described in the HOWTO. This example is included with the RTD package and can be easily accessed when creating a new project from an example


BR, VaneB

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