wtf car wont start ?

ok so i’ve had my car running fine for the longest time … and this morning just decides to fuck off. here is what happened :

woke up today … saw snow … turned the car on … let it warm up. i go around the block sideways a few times. i get home , turbo time it, its fine. come back to my car after about 10 minutes to go to a buddies house , i try to turn it on … nothing . turns over fine … fuel pump primes just wont start. after checking out a bunch of shit i try again … starts for about 10 seconds … runs fine idles fine … and dies . im guessing im not getting any spark but i want your input

can someone PLEASE help me out. and by the way its RB20 motor.

thanks guys.

have you looked at your battery connections for corrosion? or possibly the positive post on the alternator…sounds like a bad connection to one of the two.

battery connections are fine . im getting good voltage readings from off volt meter.

so i left my car in my garage for a few hours and i came back to try and started and it started fine … idled fine and didnt die.

but i took it for a drive and it wont go past 4500rpm it just sputters.

Have you checked for ecu codes?

found it …

cam angle sensor was barely connected