That just tells us that the knock sensor isn't the cause for your problems.
Please record a log, with the engine running roughly while idling, and attach it here.
Please record a log, with the engine running roughly while idling, and attach it here.