Electrical issues, communication error. on 2005 Volvo S40

Been on and off for a few months. Ill be driving and all of a sudden I get a brake failure stop safely light and all my gauges go dead. Sometimes from there the MPH will come back on and only the ABS service light stays. Turn the car off turn it back on and it says check engine, engine system service urgent turn it off take out the key and turn it back on and the urgent light is gone only the check engine light stays on until I turn if off and on again. Sometimes ill also get a power steering light as well. Also if I dont wait till the MPH comes back on and I turn off the car while the gages are dead ill get an immobilizer message for ten minutes then it starts up fine. Radio still works windows still work but sometimes driving is rough while its happening. So it definitely a High Speed Communication error. Already tested the alternator and changed the bad battery. I bought a new ecm but havent spent the money to take it to the dealer to get it re programmed cause I want to make sure that its the problem before doing so. Does anyone have any ideas on the issue? Its so frustrating and makes driving anywhere painful.

by in Torrance, CA on January 03, 2013
Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer 3 comments
ANSWER by , January 03, 2013
poss crank shaft sensor is going bad,which is not uncommon and causes weird issues like you have
COMMENT by , January 03, 2013
Usually with a crank shaft sensor problem the car doesnt start and its never given out on me before. Here is a long list of codes I got from reading it with a scanner. ECM: 2600 940c E000 950C 930C 922C CEM:E000 DF17 DIM: 0001 Steering wheel: 0032 ABS:0100 0101 0081 0080
COMMENT by , January 04, 2013
these codes are not in all data. what kinda scanner are u using?
COMMENT by , January 07, 2013
It was a computer I forget the brand