How Can I Set ICU(External Interrupt)?

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

How Can I Set ICU(External Interrupt)?

ソリューションへジャンプ
1,999件の閲覧回数
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

タグ(3)
0 件の賞賛
返信
1 解決策
1,908件の閲覧回数
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 件の賞賛
返信
6 返答(返信)
1,956件の閲覧回数
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 件の賞賛
返信
1,948件の閲覧回数
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 件の賞賛
返信
1,923件の閲覧回数
malove
Contributor IV

thank you for answer @VaneB 

 

How do I proceed to update RTD 3.0.0 to 4.0.0?

0 件の賞賛
返信
1,909件の閲覧回数
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 件の賞賛
返信
1,901件の閲覧回数
malove
Contributor IV

Always thank you @VaneB 

0 件の賞賛
返信
1,967件の閲覧回数
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 件の賞賛
返信