Originally posted by KUgrad
The other code was for the crank angle sensor. This sensor apparently tells the spark plugs when to fire, depending on the position of the crank shaft.
I had a similar problem with this sucker too. If I had my car fully warm and turned it off for like 5 minutes - 1 hour, it wouldn't start anymore (there was no spark). Sometimes, a little knock/bang on the sensor was enough to make it work, but usually I had to wait till the engine cooled down considerably (1 hour, sometimes more). That was kind of annoying.
Since the sensor costs obscene $160 where I live (Europe, Slovenia) and the failure looked just like a cold solder joint inside the sensor, I've decided to try and repair it myself.
So I cut the sucker open on the top (the plastic), where the lead goes from the connector to the inner part of the sensor. There are two soldered wires which I just re-soldered. Covered it all with hot melt glue and it has been running without a single problem since!