Thanks for the video. The engine sounds good, which is nice. It could be the knock sensor or a weak fuel pump, Let's do a fuel pressure test before replacing the fuel pump.
Fuel pressure at idling kPa (kg/sq.cm, psi) .................... Approximately 350 (3.57, 51)
You can rent a fuel pressure gauge from the auto parts store.
Here is a guide that should help:
https://www.2carpros.com/articles/how-to-check-fuel-system-pressure-and-regulator
Here is how to replace the pump in case the fuel pressure is low. Lack of fuel can cause knock sensor codes as well. Check out the images (below). Let us know how it goes.
Images (Click to make bigger)
Monday, January 8th, 2024 AT 9:27 AM