External GPIO interrupt example in S32k3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

External GPIO interrupt example in S32k3

317 Views
leo_Z
Contributor III

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.

 

 

 

0 Kudos
Reply
1 Reply

291 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @leo_Z 

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

0 Kudos
Reply