The knock sensor does not cause the Check Engine Light to come on. Something else must be wrong.
Get your computer codes run for free at Autozone and find out what is setting it off.
Stone
_________________________
"If you can dodge a wrench, you can dodge a ball."