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
解決済! 解決策の投稿を見る。
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.
-------------------------------------------------------------------------------
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?
Test the project in SIUL2 external interrupt example project using S32K3 RTD without AUTOSAR. SIUL2 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.