Hello to all! Recently picked up a 2002 IS300 that had a manual trans swap done. Car runs great, except on initial start up it runs rough but doesn’t throw any misfire codes, it does have a P0340 code that always comes back on. I checked ohm reading checks out, and continuity of wires from sensor to ecu is good. I also checked crank sensor resistance and wiring to ecu and that is good as well. I’m running out of ideas of what else could be causing the rough idle on start up and throwing a P0340 code. Any help would be greatly appreciated. Note: I also replaced the ECU with a replacement I got from eBay. Same problem persists.