NefMoto

Technical => Communication Protocols => Topic started by: ervinke2 on November 09, 2017, 03:09:47 AM



Title: VW Passat B5 - KW1281 Incorrect ECU response
Post by: ervinke2 on November 09, 2017, 03:09:47 AM
Hello guys,

I'm trying to make an STM32 based data analyzer.

My problem is after the 5 baud init, I get the 0x55 0x01 0x8A which is good, then I respond with the 0x75. I get back the 0x75 as echo, and here comes my problem, then I receive 0x0F 0x0F 0x0F. I should get only one I suppose. It doesn't matter if I ack any of it. And after the last 0x0F the communication stops.

What could be wrong?


Title: Re: VW Passat B5 - KW1281 Incorrect ECU response
Post by: ervinke2 on December 08, 2017, 03:13:32 AM
I found out what was my problem. I had an incorrectly set 8N1 serial protocol.


Title: Re: VW Passat B5 - KW1281 Incorrect ECU response
Post by: ervinke2 on December 08, 2017, 10:20:25 AM
Now I have another problem. I'm trying to communicate with the Engine Controller Unit. It's working until my STM board is powered from my notebook. When I change it's power source to a Car USB charger it's not communicating. I can't even hear a relay then.