I'm having the same problem when trying to use input capture to period measurement.
In my project I use S32K311 device, with PTA3 (emios_1_ch_20_y) => only can be used in SAIC mode.
In both cases the values read were always 0:
=> Emios_Icu_Ip_GetTimeElapsed(PWM_INSTANCE_1, CHANNEL_20);
and
=> Emios_Icu_Ip_GetDutyCycleValues(PWM_INSTANCE_1, CHANNEL_20, &ic_result_temp);
temp_periode = ic_result_temp.PeriodTime;
temp_dutycycle = ic_result_temp.ActiveTime;
I use channel 23 to generate a pwm to channel_19, using BUS_A.
and channel 16 to generate clock to channel_20 (input capture), using BUS_D
RTD version: S32K3_RTD_4_0_0_P04_D2312_ASR_REL_4_7_REV_0000_20231220
S32DS v3.5.10
I use a CORE_CLK=120MHz and I'm looking to see if the clock issue could be the cause,