Creating a 1KHz clock O/P

I looked closer and saw "R6" in the title and assume now that's a reference to the Yamaha R6. I ride a Tuono wave

I ditched the exhaust valve on mine with an Akrapovic slip-on and removed the servo. The Aprilia race-tune loaded thereafter automatically eliminated any service codes related to the absence of the servo.

Your circuit is likely okay. It might be a good idea to add some TVS (transient voltage suppression) diodes to the circuit where external connections are made. Is 5V supplied by the ECU?