Hi! I have a 2012 Honda Odyssey a few minutes after I start driving I have a flashing engine light with the codes p0300 p03001 p0305 p0339. I replaced the entire spark plugs and coils but it still didn't fix the problem even after erasing the codes. Could it be crankshaft position sensor or vacuum leak?
It's best to diagnose the problem before replacing parts. Chances are your coils and plugs were OK.
The P0339 does indicate a problem with the crank sensor circuit but it may not be the sensor itself. Possible causes and diagnostic information can be found here:
https://www.obd-codes.com/p0339
https://obd2pros.com/dtc-codes/p0339/
You might also want to take a look at the troubleshooting section of the FAQ for information on diagnosing misfires.
The flashing check engine light means "STOP DRIVING IMMEDIATELY TO AVOID ENGINE DAMAGE". That vehicle should not be driven until the problem is resolved.