Hello all,
we are having problems configuring the Icu Driver as input to read the PWM signal, the problem is that the ISR is making the M4 core to have multiple resets, and the API "GetDutyCycleValues doesn return anything" the configuration is as follows:
We have created an Icu Channel 0 in to detect RISING_EDGE, the Hw IP: is TPM, and the measurement mode is: ICU_MODE_SIGNAL_MEASUREMENT.
We have activated the ISR HW ID for TPM_0:
And created and ICU Tpm Channel:
The OS configuration for the TPM_0_ISR looks like this:
And the PortPin created to handle this look like this:
Hi Jose,
We have a demo of the TPM driver in the SDK, did you use it as a base or guide to make your own? If not, could you compare it to the SDK?
The MCAL driver is made by you or by the software service team?
Best regards,
Diego.