Hi,
I have encountered some problem when configuring window mode of S32K144 , CMP module.
Attached is my test demo. I have used CMP_0 module, the positive input is the DAC, the negative input is the input 0,(logic analyzer channel 1 ,blue line,set freq=50kHz),the window/Sample input is the lptmr1 output(logic analyzer channel 3 ,yellow line,set freq=100Hz),the COUTA output is logic analyzer channel 0。




Reference to s32k1xx-RM 45.7.5 Windowed mode (#s 5A & 5B),I think COUTA output should output 100Hz waveform when WINDOW is high. When WINDOW is low, output should keep the last state. Please help me check whether there is any problem with the current configuration?
Thank you very much for your help!