How Can I Set ICU(External Interrupt)?

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

How Can I Set ICU(External Interrupt)?

Jump to solution
499 Views
malove
Contributor IV

Hello, I am working with the S32K314 MCU and using S32DS version 3.5. In the [06_S32K3xx_Pins_and_Clocks_with_RTD_Training] document, it mentions that when updating the code in the Siul2_Icu Configuration part, the following files should be generated:

studyseok8466_1-1729743715730.png

studyseok8466_1-1729743857325.pngstudyseok8466_0-1729743842394.png

 

However, in my case, these files are not generated as expected. As a result, I am unable to use the parameters referenced in the example.

How can I resolve this issue?

 

studyseok8466_3-1729743808684.png

Tags (3)
0 Kudos
Reply
1 Solution
408 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @malove 

I am afraid that the most viable option is to unistall the RTD version 3.0.0 from S32DS an install the version 4.0.0. Then generate a new project and then copy the application source files from your pre-existing project as well as any customizations you made to the project properties.

Sorry for the inconvenience

View solution in original post

0 Kudos
Reply
6 Replies
456 Views
malove
Contributor IV

Thank you for answer @VaneB 

But, I still have some question.

 

studyseok8466_0-1729814735306.png

 

1. I can't find 'Siul2_Icu_Ip_BlinkLed' example in my example from project

 

2. I am curious about what should be entered as an argument for Siul2_Icu_Ip_EnableInterrupt. The parameters in the photo I attached when asking a question are based on an old version, so what should I replace them with in the current version?

0 Kudos
Reply
448 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @malove 

Sorry for any inconvenience this may cause.

The Siul2_Icu_Ip_BlinkLed was not provided in S32K3 Real-Time Drivers Version 3.0.0. I suggest you use the latest RTD versions.

0 Kudos
Reply
423 Views
malove
Contributor IV

thank you for answer @VaneB 

 

How do I proceed to update RTD 3.0.0 to 4.0.0?

0 Kudos
Reply
409 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @malove 

I am afraid that the most viable option is to unistall the RTD version 3.0.0 from S32DS an install the version 4.0.0. Then generate a new project and then copy the application source files from your pre-existing project as well as any customizations you made to the project properties.

Sorry for the inconvenience

0 Kudos
Reply
401 Views
malove
Contributor IV

Always thank you @VaneB 

0 Kudos
Reply
467 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @malove 

This training presentation was done with an older version of RTD, so there are significant changes in newer versions. In this case, the names of the structures and definitions generated by ConfigTools differ from those mentioned in the presentation, for example:
Use

Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS_PortContainer_0_BOARD_InitPeripherals, g_pin_mux_InitConfigArr_PortContainer_0_BOARD_InitPeripherals);

Instead of

Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);

I suggest you to check the Siul2_Icu_Ip_BlinkLed example code (provided with the RTDs) for a better reference.

 

BR, VaneB

0 Kudos
Reply