[S32K3] external GPIO Interrupt example

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

[S32K3] external GPIO Interrupt example

ソリューションへジャンプ
2,348件の閲覧回数
Changhawn
Contributor IV

Dear

I'm trying to use one of the GPIO pins as an interrupt with an external chip,

Is there an example of registering an interrupt?

The below sequence is based on references from the NXP community, but I'm asking because it doesn't seem to work well.

If there's no example, could you please check if the below is correct?

Thank u~

1. GPIO configuation

 

Changhawn_1-1721965913933.png

 

2. register interrupt to intCtrl_Ip 

Changhawn_2-1721965960070.png

 

3.  SIUL2_ICU , add 

Changhawn_3-1721965996823.png

Changhawn_4-1721966015151.png

Changhawn_5-1721966033283.png

 

4.  SW

Changhawn_6-1721966056870.png

Changhawn_7-1721966071496.png

 

0 件の賞賛
返信
1 解決策
2,255件の閲覧回数
Changhawn
Contributor IV

I have confirmed this issue. 

Because one api was missed.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,256件の閲覧回数
Changhawn
Contributor IV

I have confirmed this issue. 

Because one api was missed.

0 件の賞賛
返信
2,325件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Changhawn,

It looks like you have referred to the SIUL2 external interrupt example project using S32K3 RTD without AUTOSAR.

Have you added "6. Add Siul2_Icu LLD APIs"?

There may be some differences due to different RTD versions. Could you please tell me the S32K3 RTD version and S32K3 part number? If you are using S32K3 development board, please tell me which development board you are using.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

0 件の賞賛
返信
2,322件の閲覧回数
Changhawn
Contributor IV

Dear Robin.

Yes. I added "6. Add Siul2_Icu LLD APIs" as callback function.

My test RTD Version is 3.0.0 of S32K314.  And this is our development board.

Thank u

 

0 件の賞賛
返信