Hi,
We need pulse width measurement feature and PWM generation feature on same pin. Is FLEXIO or EMIOS which is best suit for this need?
Can we measure pulse width using FLEXIO input capture? We are planning to use FLEXIO module as a SPC SENT transmitter emulator. In SENT SPC after receiving trigger pulse we will start sent transmission, as per the requirement I need to measure the trigger pulse width.
Below is the trigger pulse sample. Can we measure below pulse width using FLEXIO input capture mode?
In the S32K3 RM from the below highlighted statements my understanding is PIN is selected as a trigger, which is internal trigger. Timer disable on trigger falling edge detect is selected in TIMCFG register, on trigger falling edge timer count will get capture into timer compare register. From this we can get falling edge to falling edge period.
Can we have any option/setting to start/reset timer on pulse falling edge and capture counter on pulse raising edge. After raising edge, I will change to PWM mode to start SENT frames transmission using PWM. After transmission again I change to input capture mode.
I don't see options in SPC SENT TX point of view.
I don't see option timer disable on trigger raising edge.
I don't see option timer reset on trigger falling edge.
Do we have any option/setting to achieve above requirement.
Thanks,
Y Uma Maheswara Reddy.