Hello,
I'm trying to use EMIOS_IC component but it's not working..
I'd like to read the frequency of a square wave.
I have a DEVKIT-MPC5748G and use S32-Design with processor expert.
EMIOS_DRV_IC_InitInputCaptureMode(INST_EMIOS_MC1, 11, &eMIOS_Ic1_ICChnConfig0);
EMIOS_DRV_IC_GetLastMeasurement(INST_EMIOS_MC1, 11, &Period);
The input signal period is 50ms but 'Period' variable is always 0.
Other doubt is if the emios_qd component works? If so, is there any example of how to use?
Thanks,
Best Regards
João Paulo
已解决! 转到解答。