Hi NXP:
I am using the S32K146 for the first time and would like to set up a demo for dual-edge input detection. According to the manual, dual-edge detection requires configuring two channels. However, I would like to know if it's possible to detect the frequency and duty cycle of the input signal using just one channel. Could you please provide an SDK-driven demo for dual-edge detection and how to measure the input signal's frequency and duty cycle?
Thank you.
Solved! Go to Solution.
This is a demo I post before, you can take a look at this.
This is a demo I post before, you can take a look at this.
Hi@LaiBighead
双边沿输入捕获250KHz,一秒钟相当于中断差不多500K次,你说你这样用考虑过S32K146的性能吗?
通常电机控制中也就个10K或者20K,你这么高的速率它能处理的了吗。