Some CPS failures will actually trip a visible DTC as there have been a few reported on LOST over the years, but they are rare.
When my CPS starting going bad several years ago, on the third time it did a quick hiccup during the warm up cycle while driving down the road, it actually did set a visible DTC (check engine light) but I don't remember which one it was.
I replaced it right afterwards....
P0335 - Crankshaft Position [CKP] Sensor A Circuit
P0336 - Crankshaft Position Sensor Circuit A Range/Performance
P0337 - CKP Sensor Circuit Low Frequency
P0338 - CKP Sensor Circuit High Frequency
P0339 - Crankshaft Position Circuit Intermittent
_________________
Supporting Vendor and Moderator of LOST05 Jeep Liberty CRD Limited
Ironman Springs/Bilstein/Shocks
Yeti StgIV Hot Tune
Week's BatteryTray
No FCV/EGR
Samcos/ProVent
SunCoast/Transgo
Carter Intank-pmp
2mic.Sec.Fuel Filter
Flowmaster/NO CAT
V6Airbox/noVH
GM11 Bld.fan/HDClutch
IronrockArms/wwdieselMount98 Dodge Cummins 24 Valve