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?
I'm glad to receive your reply. I have made some attempts with this case, and it was somewhat enlightening. However, when trying the dual-edge detection, I’m unsure when to obtain the Cnv values of CHn and CHn+1.