Wild guess... Was the knock sensor a direct plug in, or did you have to re-wire it? Does the code go away if you plug the old knock sensor back in? Trying to eliminate a wiring problem or incorrect/wrong/faulty new sensor..
And how did you reset the
ECU? Disconnect battery (for how long) or connect green and black connectors under the dash?