Hi, there are 2 knock sensors at the rear of the motor under the intake manifold against the block, just above the Waterpipe running from the block to the thermostat.
You can access boh from below.
An OBD scanner will tell you which one is broken.
Just be careful when installing not to tighten to hard, they are very sensitive, so use treaht lock and be careful.