Tesla Owners Online Forum banner
1,981 - 2,000 of 2,200 Posts
Discussion starter · #1,981 ·
So 2021.12.whatever arrived today and I noticed my torque bargraph was wonky. Uh-oh, Tesla changed some CAN messaging!

I forgot that I use 0x1D8 on my Server and Displays, which was purely reversed engineered in this thread back in the day, and seemed to present real torque. It changed only once with v9. But I believe .12 is the first mix with Plaid software so it's a good reason to change it again.
It seems to go from a 13-bit signed to a 10-bit side, and multiplier from .25 to maybe .5... but we never really know what that should be.
(So if you have wonky bargraphs, if you change those values on your server, it will be good again)

But I really need to kind of validate this with a full throttle on a dyno or find max ratings and scale appropriately.

Meanwhile the "software" torque is at 0x108 so we know that decoding, but that has always presented insane values of 7000Nm or whatever. That still seems to be working, at least on my 3. I think we argued in here if we should leave that or enter in some divider, but never found a sensible one.

I think this also explains why I couldn't find good torque messages for plaid. I'll have to investigate some more.

Image
 
Discussion starter · #1,982 ·
Ok *NOW* I have the motor torque changes with 2020.12 figured out...they stay 13 bit and just move. This are the secret-ish 0x1D5 and 0x1D8 motor torques, not the 0x108 etc axle torques.

BO_ 472 ID1D8RearTorque: 8 VehicleBus
SG_ Checksum1D8 : 56|8@1+ (1,0) [0|255] "" Receiver
SG_ Counter1D8 : 53|3@1+ (1,0) [0|7] "" Receiver
SG_ RearTorqueRequest1D8 : 8|13@1- (0.222,0) [-909.312|909.09] "NM" Receiver
SG_ RearTorque1D8 : 21|13@1- (0.222,0) [-909.312|909.09] "NM" Receiver
SG_ TorqueFlags1D8 : 0|8@1+ (1,0) [0|255] "" Receiver

Still searching for both torque types in the plaid log haystack.
 
Discussion starter · #1,983 · (Edited)
I just made quite a big discovery, and I need help from anyone with a 2021 Model 3/Y!

Apparently Tesla has hidden a dedicated Model S-style CAN diagnostic connectors in Model 3 since Oct 2020!
It should be hidden behind the passenger footwell. I noticed the change in the EDR cable guide at https://edr.tesla.com/help

And, by coincidence, this "CAN Connector" has the same new pinout as we noticed changes in the new 2021 Model S/plaid

So we might FINALLY have a single, easy to access connector, with mutiple canbusses, common across all 2021 Teslas!

I need help with anyone with a 2021 to help confirm it exists, and we get good data.

I also need help begging Maxwell to update the Model S cables to make the pin swaps needed for 2021 Model S, and apparently now 3 as well.

Screen Shot 2021-08-16 at 2.27.53 PM.png
 
I just made quite a big discovery, and I need help from anyone with a 2021 Model 3/Y!

Apparently Tesla has hidden a dedicated Model S-style CAN diagnostic connectors in Model 3 since Oct 2020!
It should be hidden behind the passenger footwell. I noticed the change in the EDR cable guide at https://edr.tesla.com/help

And, by coincidence, this "CAN Connector" has the same new pinout as we noticed changes in the new 2021 Model S/plaid

So we might FINALLY have a single, easy to access connector, with mutiple canbusses, common across all 2021 Teslas!

I need help with anyone with a 2021 to help confirm it exists, and we get good data.

I also need help begging Maxwell to update the Model S cables to make the pin swaps needed for 2021 Model S, and apparently now 3 as well.

View attachment 39540
I found EDR CAN bus connector for my 2021 Model 3 SR+ RH(JPN) behind the carpet on the "driver's side."
This is a 20-pin connector with seven wires connected to it.
It was about 30mm wide and had Sumitomo's mark on.
The model number is probably 6098-5613.

I hope you have some information on the pinout.

Image
 
Discussion starter · #1,985 ·
I found EDR CAN bus connector for my 2021 Model 3 SR+ RH(JPN) behind the carpet on the "driver's side."
This is a 20-pin connector with seven wires connected to it.
It was about 30mm wide and had Sumitomo's mark on.
The model number is probably 6098-5613.

I hope you have some information on the pinout.

View attachment 39641
Yes, the pinout and build instructions are here:

Unfortunately it seems 3/Y do not have 12v power in their connector
 
idea for canserver. Wireless trailer interface. A wireless module that mounts on the trailer that you only have to provide 12 V to. It will then get its lights, brake and turn signals. From the canbus. The Tesla is just such an expensive car to install trailer lights on. Of course you would have to add some party light mode for camping etc.
 
Discussion starter · #1,987 ·
idea for canserver. Wireless trailer interface. A wireless module that mounts on the trailer that you only have to provide 12 V to. It will then get its lights, brake and turn signals. From the canbus. The Tesla is just such an expensive car to install trailer lights on. Of course you would have to add some party light mode for camping etc.
Interesting idea. Nothing needed for the canserver really, that can be done now, it's really a client module like my microdisplay that has outputs for all the lights.
I don't have a trailer or hitch so I don't know any better, does it just need four outputs for running lights, brake lights, and two blinkers? How much power does each need, are they usually 50 watt bulbs?
 
If anyone need that data, I've managed to partially decode ID261, VCFRONT_12VBatteryStatus with 12v battery voltage, current, temperature and capacity.
They've changed it at around 2020.4 to an indexed value with 4 pages, however only first 3 appear usable:

Code:
BO_ 609 ID261VCFRONT_12VBatteryStatus: 8 VehicleBus
 SG_ VCFRONT_12VBatteryIndex M : 0|2@1+ (1,0) [0|4] ""  Receiver
 SG_ VCFRONT_IBSCurrent m0 : 16|12@1- (0.005,0) [-163.84|163.835] "A"  Receiver
 SG_ VCFRONT_IBSCurrentRaw m1 : 16|16@1- (0.005,0) [-163.84|163.835] "A"  Receiver
 SG_ VCFRONT_IBSVoltage m1 : 32|12@1+ (0.005443676098,0) [0|22.29185362131] "V"  Receiver
 SG_ VCFRONT_IBSAmpHours m2 : 2|14@1- (0.01,0) [-81.92|81.91] "Ah"  Receiver
 SG_ VCFRONT_IBSTemperature m2 : 8|16@0- (0.1,0) [-327.68|327.66] "degC"  Receiver
 
Discussion starter · #1,989 ·
If anyone need that data, I've managed to partially decode ID261, VCFRONT_12VBatteryStatus with 12v battery voltage, current, temperature and capacity.
They've changed it at around 2020.4 to an indexed value with 4 pages, however only first 3 appear usable:

Code:
BO_ 609 ID261VCFRONT_12VBatteryStatus: 8 VehicleBus
 SG_ VCFRONT_12VBatteryIndex M : 0|2@1+ (1,0) [0|4] ""  Receiver
 SG_ VCFRONT_IBSCurrent m0 : 16|12@1- (0.005,0) [-163.84|163.835] "A"  Receiver
 SG_ VCFRONT_IBSCurrentRaw m1 : 16|16@1- (0.005,0) [-163.84|163.835] "A"  Receiver
 SG_ VCFRONT_IBSVoltage m1 : 32|12@1+ (0.005443676098,0) [0|22.29185362131] "V"  Receiver
 SG_ VCFRONT_IBSAmpHours m2 : 2|14@1- (0.01,0) [-81.92|81.91] "Ah"  Receiver
 SG_ VCFRONT_IBSTemperature m2 : 8|16@0- (0.1,0) [-327.68|327.66] "degC"  Receiver
Thanks, this is helpful. I didn't realize this changed, I will have a closer look. I need to make some plaid updates to the DBC anyway
 
Re: cross-referencing information displayed in the car to what you see in the CANBus.

FYI, others are reporting in a TMC Model Y 82 kWh pack thread that this is working to get into the diagnostic screens. -- TMC Post: Model Y 82kW Battery Pack

I could do it in my 2017 X 100D but my kid could not in his 2018 TM3 AWD LR until he did the reddit mentioned steps below. He was able to then see the diagnostic screens

OMMnAce.jpg


Trouble getting in? Brake to turn 'on'.

From the reddit thread.

H8bbHly.jpg


I'm sure Tesla will correct this oversight soon. In anticipation, I did a 'Forget' of my wifi for the time being so it doesn't download and prompt me every time I turn get in the car.
 
The Inverter temp messages BO_ 886 ID376FrontInverterTemps and BO_ 789 ID315RearInverterTemps: 8 VehicleBus seem to have changed with 2021.24.4: What was formerly stator temp, now appears to be Inverter Temp, Inverter Heat Sink and Inverter Temp (old) are jumping between 40°C and some other value. Did not have time to look at the binary view yet, but it looks like signal order and start bits / length have changed. Or the message is multiplexed now like 12V Battery. See attached logs.
 

Attachments

Looks very much like multiplexed signal now, with a multiplexer changing between 0 and 1. Values fluctuate with multiplexer change. First recording is with car parked, the other two while driving. In parked condition inverter temp and heatsink temp are normaly within 1°C of powertrain inlet coolant temp, so the correct value could be checked against this reading. While driving, inverter heatsink temp reacts quickly to load changes (increases a few degrees under acceleration, more under heavy acceleration), inverter temp changes slowly and is mostly close to powertrain coolant temp or slightly above. Stator temp usually goes up continuosly during driving, primarily for the rear motor, and runds around 40-60 degress under current weather. Front is colder. Capbank temp was useless, always fixed at 40°C.
 

Attachments

since Diagnostic Menu was discovered, we know, that there a signal for Time Zone available with an offset of -14400 for -4h

Did somebody already found it?
That Data screen isn't all CAN info. I suspect its stuff that the computer knows about (some of it is CAN based, but not all) - which makes sense cause the main computer would know the timezone for display purposes, but the rest of the car all operates in UTC. I don't think we have ever come across the timezone or offset in the CAN data.

chris.
 
Image

I made a cable to connect the CANserver to the 2021 Tesla Model 3 with new diagnostic port, so I'll share it with you.
The CANserver box was installed in the center console and gets power from USB. I used an Ethernet cable for these connection. It's a twist-pair.
There are several types of Ethernet jacks. The punch down type (B.) is cheaper, but screw type (C.) is easier.

Below is the parts list. Aliexpress is cheap, but takes a long time to deliver.

A. 20 pin female Sumitomo Automobile cable Connector 6098-5622 with wire, $7
B. RJ45 Punch Down Keystone Jack, $2
C. RJ45 Ethernet Female to 8 Pin Screw Terminal Connector, $6
D. JST XH 2.54mm Pitch Terminal Kit, $3
 
Discussion starter · #1,996 ·
View attachment 39853
I made a cable to connect the CANserver to the 2021 Tesla Model 3 with new diagnostic port, so I'll share it with you.
The CANserver box was installed in the center console and gets power from USB. I used an Ethernet cable for these connection. It's a twist-pair.
There are several types of Ethernet jacks. The punch down type (B.) is cheaper, but screw type (C.) is easier.

Below is the parts list. Aliexpress is cheap, but takes a long time to deliver.

A. 20 pin female Sumitomo Automobile cable Connector 6098-5622 with wire, $7
B. RJ45 Punch Down Keystone Jack, $2
C. RJ45 Ethernet Female to 8 Pin Screw Terminal Connector, $6
D. JST XH 2.54mm Pitch Terminal Kit, $3
I'm still waiting for someone to sell the updated the connector, I thought Maxwell would have one by now. Great idea getting a pre-crimped connector off of aliexpress!
Quite a few folks do the same and build their own ethernet cables to locate the server elsewhere.
It's too bad Tesla doesn't also put power on that connector (on 3/Y)
 
Updated to 2021.32.10, and it looks like ID3A1 (VCFRONT_vehicleStatus ) is multiplexed now, with the first bit ( 0|1@1+ (1,0)) being the index, and old data available at index 0.
Sample messages:
can0 3A1 [8] 08 62 00 98 00 20 82 17
can0 3A1 [8] C3 FF FF 01 00 00 90 C5
 
In GPSLongitude04F of ID04FGPSLatLong of Model3CAN.dbc, I got the correct value with unsigned (28|28@1+) instead of signed(28|28@1-).
I've only tested this in my location (Lng 138.xx), so it may have a negative effect in other locations. I'm still trying to understand how it works.
 
Discussion starter · #2,000 ·
We finally have software version! Something we have been searching for years for.
The first four bytes of 0x558 coincide with the GitHash of the firmware version (you can get them from teslafi firmware page etc)

BO_ 1368 SoftwareVersion: 8 VehicleBus
SG_ SWVersionGitHash : 0|32@1+ (1,0) [0|1] "" Receiver

Huge props go to @Redox for this one!
 
1,981 - 2,000 of 2,200 Posts