Signal Waveform
WARNING: This page is about a different car, the 2017 Kia Optima. However, it is still accessible from the selected car via links, so may be relevant.
This example shows a typical Crankshaft Position Sensor(CkPS) and Camshaft Position Sensor(CMPS) waveform at idle. The PCM controls the injection and ignition timing by using these signals.
Generally CkPS signal is used to detect the piston's position and CMPS signal is used to detect the Top Dead Center of each cylinder.