Hi
Sorry, I may not understand your question. Please correct me if I understand wrong.
While you connect the external PWM signal to eMIOS0_CH7, do you also want to connect the signal to eMIOS0_CH3 through the internal TRGMUX or LCU?
Through the project you attached, I saw:
You configure eMIOS0_CH3 to SAIC ICU_FALLING_EDGE and ICU_MODE_SIGNAL_EDGE_DETECT. Then call Emios_Icu_Ip_GetDutyCycleValues(INSTANCE_0, CHANNEL_7, &get_dc) in the Notification of eMIOS0_CH3, which is Driver_Fault;
But why not call Emios_Icu_Ip_GetDutyCycleValues(INSTANCE_0, CHANNEL_7, &get_dc); directly in the interrupt of eMIOS0_CH7?
Please see if the method of calling Emios_Icu_Ip_GetDutyCycleValues in S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2 with EMIOS_1_ch_1 (IPWM mode) meets your needs:


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.
-------------------------------------------------------------------------------