S32K344_Icu Module

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

S32K344_Icu Module

Jump to solution
584 Views
gadilinga
Contributor III

Hi , Im testing Icu Module Example code in S32K344 Code was Working But My query is In peripheral Icu Module configuration User_edge dection(); function Is there But its not triggering that function then why that function used in that Example code can i Know the reason. i download the training Document also mention. i didn't understand. thank u

gadilinga_0-1724218426625.png

 

0 Kudos
Reply
1 Solution
514 Views
gadilinga
Contributor III
Hi @Robin_Shen,
thank u for quick reply ,I checked this apart from this method any other method is there test.

View solution in original post

0 Kudos
Reply
6 Replies
555 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I don't know which training you are watching, so I'm not sure if the content is complete.
Please tell me the link of the training.
I also recommend you refer to: SIUL2 external interrupt example project using S32K3 RTD without AUTOSAR


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 Kudos
Reply
549 Views
gadilinga
Contributor III
Hi @robin _Shen,
thank u so much for u r Quick Response, Same Material only I'm using. when that Callback function and when will that function hit. After Trigger that Output pin give it as Input for ICU or before function call. can I know the how to Test the ICU module , if any material is there mean plz provide me.
0 Kudos
Reply
546 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Did you read the link I gave you? I think if you refer to it and - S32K3xx Pins and Clocks with RTD - Training, you should be able to implement SIUL2 external interrupt according to the pin EIRQ number you modified.

I don't understand your question. Please tell me which pin do you need to set as EIRQ to trigger the interrupt?

0 Kudos
Reply
542 Views
gadilinga
Contributor III
Hi @Robin_Shen,
I Appreciate u r QuickTime Response. My Query was How i need to Test the ICU module In S32K344 DS using SIUL2_EIRQ. How to Know i'm Receiving Correct Input. Can u have Any Reference Snippet Plz provide me for My Understanding. thank u
0 Kudos
Reply
522 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Test the project in SIUL2 external interrupt example project using S32K3 RTD without AUTOSARSIUL2 eirq13(SW4 PTB26) is configured for ICU_RISING_EDGE. When you press SW4 to generate a rising edge, it should enter it's own IcuSignalNotification(for example: SW4_eirq13_PTB26_Callback )

In addition, when debugging, you can also set a breakpoint in Siul2_Icu_Ip_ProcessInterrupt (RTD/src/Siul2_Icu_Ip_Irq.c) and observe which EIF bit of the 10.6.4 SIUL2 DMA/Interrupt Status Flag 0 (DISR0) register was set.

0 Kudos
Reply
515 Views
gadilinga
Contributor III
Hi @Robin_Shen,
thank u for quick reply ,I checked this apart from this method any other method is there test.
0 Kudos
Reply