Hello NXP community,
Is it possible to use eTimer module (MPC5744P) to measure at each edge change of 2 external inputs, like as shown in the attached figure, to measure the timing of 1,2,3,4,....? How to config in this case?
Thank you in advance.
yes, a capture feature can be used for this purpose. Using this you can save value of internal counter on 4 consecutive input signal edges.
You can refer to https://community.nxp.com/docs/DOC-104285 where capture feature is used to measure frequency and duty cycle of input PWM signal.
Thank you for the reply.
I have not tried the code but as I read it, isn't it only one input channel involved? How can I config to capture the counter value if the other input channel has a edge change as capture event?
each channel has got a capture functionality, so you need to enable it similarly for each channel used.
Retrieving data ...