Hi Damien - you've done some great work on the Tesla charger side of things. I am trying to understand the proprietary SWCAN messaging that Tesla uses for older vehicles. I am trying to sniff the messages between the EV and charger using the SWCAN transceiver based on Craig Peacock's design and have been able to collect messages during a transaction but can't interpret all the messages - plus lot of them don't match one of the decode spreadsheets on the openinverter forum. Since you've done lot of this work can you please point me to some way to decode these messages or where in your code I could find the places where SWCAN messages are handled. I could use it and try to find but no luck yet.
Here's a part of the trace I was able to collect and decode but not everything worked. Plus, if you have what messages the charger sends v/s EV it would really help if i try to emulate the charger side of the interface...
Also are these same set of messages for AC/DC when using SWCAN digital comm? thank you again.
hargePort Packet Decoder
Unexpected data in can_id 0x102:00 00 00 00 02 2B 00
0x30C: EVSE power disabled
0x302: SoC = 89.8% Unknown flags 42
0x235: [Byte 5 = 02102] [Byte 6 = 01F02] HV Battery 394.6V Current -0.4A
0x202: Byte 2 = 0x15 Byte 5 = 0x02, AA = 12 DD = -20
0x213: CC = 0 AA = 0 [Not Charging]
0x112: CC = 0
0x123: [Byte 4 = 03F02] CC = 0
0x31C: TWC Advertising 48.0A @ 2V
Unexpected data in can_id 0x31C:60 04 02 60 04 08 00 00
Unexpected data in can_id 0x214:00 00 00 60 00 C0 00 00
Unknown frame can_id 0x31D:00 00 00 00 00 00 00 00
Unknown frame can_id 0x31D:00 00 00 00 00 00 00 00
Unexpected data in can_id 0x102:00 00 00 00 02 2B 00
0x30C: EVSE power disabled
0x302: SoC = 89.8% Unknown flags 42
0x235: [Byte 5 = 02102] [Byte 6 = 01F02] HV Battery 394.6V Current -0.4A
0x202: Byte 2 = 0x15 Byte 5 = 0x02, AA = 12 DD = -22
0x213: CC = 0 AA = 0 [Not Charging]
0x112: CC = 0
0x123: [Byte 4 = 03F02] CC = 0
0x31C: TWC Advertising 48.0A @ 2V
Unexpected data in can_id 0x31C:60 04 02 60 04 08 00 00
Unexpected data in can_id 0x214:00 00 00 60 00 C0 00 00
Unknown frame can_id 0x31D:00 00 00 00 00 00 00 00
Unexpected data in can_id 0x102:00 00 00 00 02 2B 00
0x30C: EVSE power disabled
0x302: SoC = 89.8% Unknown flags 42
0x235: [Byte 5 = 02102] [Byte 6 = 01F02] HV Battery 394.6V Current -0.5A
0x202: Byte 2 = 0x15 Byte 5 = 0x02, AA = 12 DD = -26
0x213: CC = 0 AA = 0 [Not Charging]
0x112: CC = 0
0x123: [Byte 4 = 03F02] CC = 0
0x31C: TWC Advertising 48.0A @ 2V
Unexpected data in can_id 0x31C:60 04 02 60 04 08 00 00
Unexpected data in can_id 0x214:00 00 00 60 00 C0 00 00
Unknown frame can_id 0x31D:00 00 00 00 00 00 00 00
Hi Damien - you've done some great work on the Tesla charger side of things. I am trying to understand the proprietary SWCAN messaging that Tesla uses for older vehicles. I am trying to sniff the messages between the EV and charger using the SWCAN transceiver based on Craig Peacock's design and have been able to collect messages during a transaction but can't interpret all the messages - plus lot of them don't match one of the decode spreadsheets on the openinverter forum. Since you've done lot of this work can you please point me to some way to decode these messages or where in your code I could find the places where SWCAN messages are handled. I could use it and try to find but no luck yet. Here's a part of the trace I was able to collect and decode but not everything worked. Plus, if you have what messages the charger sends v/s EV it would really help if i try to emulate the charger side of the interface... Also are these same set of messages for AC/DC when using SWCAN digital comm? thank you again.
hargePort Packet Decoder Unexpected data in can_id 0x102:00 00 00 00 02 2B 00 0x30C: EVSE power disabled 0x302: SoC = 89.8% Unknown flags 42 0x235: [Byte 5 = 02102] [Byte 6 = 01F02] HV Battery 394.6V Current -0.4A 0x202: Byte 2 = 0x15 Byte 5 = 0x02, AA = 12 DD = -20 0x213: CC = 0 AA = 0 [Not Charging] 0x112: CC = 0 0x123: [Byte 4 = 03F02] CC = 0 0x31C: TWC Advertising 48.0A @ 2V Unexpected data in can_id 0x31C:60 04 02 60 04 08 00 00 Unexpected data in can_id 0x214:00 00 00 60 00 C0 00 00 Unknown frame can_id 0x31D:00 00 00 00 00 00 00 00 Unknown frame can_id 0x31D:00 00 00 00 00 00 00 00 Unexpected data in can_id 0x102:00 00 00 00 02 2B 00 0x30C: EVSE power disabled 0x302: SoC = 89.8% Unknown flags 42 0x235: [Byte 5 = 02102] [Byte 6 = 01F02] HV Battery 394.6V Current -0.4A 0x202: Byte 2 = 0x15 Byte 5 = 0x02, AA = 12 DD = -22 0x213: CC = 0 AA = 0 [Not Charging] 0x112: CC = 0 0x123: [Byte 4 = 03F02] CC = 0 0x31C: TWC Advertising 48.0A @ 2V Unexpected data in can_id 0x31C:60 04 02 60 04 08 00 00 Unexpected data in can_id 0x214:00 00 00 60 00 C0 00 00 Unknown frame can_id 0x31D:00 00 00 00 00 00 00 00 Unexpected data in can_id 0x102:00 00 00 00 02 2B 00 0x30C: EVSE power disabled 0x302: SoC = 89.8% Unknown flags 42 0x235: [Byte 5 = 02102] [Byte 6 = 01F02] HV Battery 394.6V Current -0.5A 0x202: Byte 2 = 0x15 Byte 5 = 0x02, AA = 12 DD = -26 0x213: CC = 0 AA = 0 [Not Charging] 0x112: CC = 0 0x123: [Byte 4 = 03F02] CC = 0 0x31C: TWC Advertising 48.0A @ 2V Unexpected data in can_id 0x31C:60 04 02 60 04 08 00 00 Unexpected data in can_id 0x214:00 00 00 60 00 C0 00 00 Unknown frame can_id 0x31D:00 00 00 00 00 00 00 00