Hi,
I've tested the IPWM module separately and successfully generated the CMP output to the LCU. This output was then routed and verified—I've attached the corresponding waveform below.
I also tried configuring IPWM as an interrupt source via TRGMUX, but I didn’t receive any interrupt events. Interestingly, when I connect the signal directly to the pin, IPWM reads the values correctly(so there is no issue in the IPWM).
However, I believe I found a workaround for the TRGMUX issue. By configuring the LCU output again as an eMIOS input pin, I’m able to retrieve the desired signal as required.
That said, I’m facing a problem when trying to measure the period. It works fine when the measurement mode is set to DutyCycle, but when I switch to Period mode (IP → IPWM), I don’t get any values.
Currently, I'm using the Emios_Icu_Ip_GetDutyCycleValues() function, since the GetPulseWidth() function doesn’t return any values. How can I retrieve the period value when the channel is configured in IP mode using eMIOS_ICU?
Would appreciate your help on this.
**I’ve attached the comparator output, along with a reference to the `Emios_Icu_Ip_GetPulseWidth()` function. Since this function doesn’t return a value, could you please clarify how it’s intended to be used? Is it updating any internal register or buffer that we should access separately?

