1.I need to test the PWM duty cycle and frequency, if configured to measure whether the input signal is reasonable
2.When I configure it as measure input signal, DUTY Cycle ON and Period between two risk edges can only choose one of the two options.Can I obtain both the duty cycle and frequency simultaneously, using only one channel of feedback
3.When I tried to set channel 1 of FTM0 as Measure input signal, I encountered an error, meaning that only even numbered channels can be set as Measure input signal? Is there any special reason? I couldn't find it in the data manual
已解决! 转到解答。
From what I have found, only this function FTM-DRV_GetInputCaptureMeasurement() can be used to obtain the count value. Therefore, when I use Measure input signal, I can only select pulse width or the period of the tested signal.
If I need to measure both the pulse width and the period, I can only use both the rising and falling edges for detection.
I'm worried about what functions I haven't considered in Measure input signal mode, which can easily measure both the pulse width and the period simultaneously.
By the way, regarding the software configuration of S32DS, besides basic usage (which can be searched a lot online), do you have a comprehensive manual on usage and configuration.
Thank you once again.
Hi,
Thank you so much for your interest in our products and for using our community.
Yes, you need to choose between to measure the pulse width or the period of the tested signal.
And in Dual Edge Capture Mode is specified that is only available in channel (n) where n = 0, 2, 4 or 6.
Hope it helps you.
Have a nice day!