Tesla Model 3 Battery Hacking
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Tesla Model 3 Battery Hacking
Setting up a thread to document the reverse engineering of the Model 3 battery. The specimen is from a European 2019 car with just over 20k km on the clock. We have the full guts of the battery minus the casing. First task will be putting it back together so we can begin discovering how the bms communicates with the cell modules. This will also provide a way to get some much needed info on the PCS communications with the hv controller.
Edit : 01/08/20 : MCU used on the HVC is : https://www.nxp.com/part/SPC5746CSK1AMKU6#/
11/10/20: New breakout board for the "batman" chip available as a kit from the webshop but DOES NOT INCLUDE BATMAN CHIP!
https://www.evbmw.com/index.php/evbmw-w ... bms-batman
Edit : 01/08/20 : MCU used on the HVC is : https://www.nxp.com/part/SPC5746CSK1AMKU6#/
11/10/20: New breakout board for the "batman" chip available as a kit from the webshop but DOES NOT INCLUDE BATMAN CHIP!
https://www.evbmw.com/index.php/evbmw-w ... bms-batman
I'm going to need a hacksaw
- tom91
- Posts: 2293
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 199 times
- Been thanked: 524 times
Re: Tesla Model 3 Battery Hacking
The battery modules communicate via a variant of the ISO-SPI from LTC.
I have struggled myself trying to get it to work with the available dev kits from LTC, had no real luck getting it working.
I have struggled myself trying to get it to work with the available dev kits from LTC, had no real luck getting it working.
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Battery Hacking
Thanks Tom. Should be an interesting adventure:)
I'm going to need a hacksaw
- tom91
- Posts: 2293
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 199 times
- Been thanked: 524 times
Re: Tesla Model 3 Battery Hacking
I would say it be of great benefit if you pull it off. Wish I could help but almost started pulling my hair out after 8+ hours of trying to get communications.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Battery Hacking
online consensus seems to be that BMS is using LTC6812;
https://www.analog.com/en/products/ltc6 ... t-overview
https://cabrioev.blogspot.com/2019/01/h ... board.html
https://www.analog.com/en/products/ltc6 ... t-overview
https://cabrioev.blogspot.com/2019/01/h ... board.html
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Battery Hacking
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- tom91
- Posts: 2293
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 199 times
- Been thanked: 524 times
Re: Tesla Model 3 Battery Hacking
DCA2617A with an LTC6820 on it. I have found some others who tried the same as myself and just found it too much of a struggle to get working.Kevin Sharpe wrote: ↑Fri Feb 28, 2020 8:47 pmIs this what you were using Tom?
https://www.analog.com/en/design-center ... b-overview
I would almost think Tesla has taken the ISO-SPI and gave it their own spin, like they done with the Model S battery slaves.
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Battery Hacking
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Battery Hacking
Some info on this thread :
https://www.diyelectriccar.com/forums/s ... 99509.html
Of course the github rerpo is now empty. Guy must have retired to Lanzarote after selling the ip.
https://www.diyelectriccar.com/forums/s ... 99509.html
Of course the github rerpo is now empty. Guy must have retired to Lanzarote after selling the ip.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Battery Hacking
and then we get this : https://teslaownersonline.com/threads/d ... ost-269950
Oh well, let's see what a nice new Keysight deep memory scope makes of this.
Oh well, let's see what a nice new Keysight deep memory scope makes of this.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Battery Hacking
This little board may prove to be a way in :
https://www.maleetronic.com/boardsproje ... pi-module/
https://www.maleetronic.com/boardsproje ... pi-module/
I'm going to need a hacksaw
-
- Posts: 395
- Joined: Sun Aug 25, 2019 12:39 pm
- Location: Finland
- Has thanked: 55 times
- Been thanked: 14 times
Re: Tesla Model 3 Battery Hacking
The latest EVTV video explains how they managed to query the individual cell voltages from the packs.
Gooood stuff.
Gooood stuff.
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
-
- Posts: 395
- Joined: Sun Aug 25, 2019 12:39 pm
- Location: Finland
- Has thanked: 55 times
- Been thanked: 14 times
Re: Tesla Model 3 Battery Hacking
Quickly go to exactly 27minutes and play it forward for 90seconds.
"Identified by ID type request"
"UDS request over CAN to the high voltage controller." They were able to retrieve individual cell data.
Little longer on video:
"Time between these messages to get the cell data is 3ms"
They wrote a program to do that. I have no idea how to replicate that, but that is the principle of how it works.
Hope this helps.
"Identified by ID type request"
"UDS request over CAN to the high voltage controller." They were able to retrieve individual cell data.
Little longer on video:
"Time between these messages to get the cell data is 3ms"
They wrote a program to do that. I have no idea how to replicate that, but that is the principle of how it works.
Hope this helps.
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
- muehlpower
- Posts: 679
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 14 times
- Been thanked: 133 times
Re: Tesla Model 3 Battery Hacking
I have a complete Model3 battery in US version that I want to use for my project and an additional EU charger. If that can help somehow.
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Battery Hacking
Thanks will be great to compare notes. My first plan is to get the pcs (charger and dcdc) running in the E46 touring then go at the weird iso-spi comms between the battery modules and the hv controller.
I'm going to need a hacksaw
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Battery Hacking
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Battery Hacking
Let's see what this baby makes of Elon's weird bms comms ...
I'm going to need a hacksaw
Re: Tesla Model 3 Battery Hacking
A little overkill perhaps?! That's a rather nice (and expensive) scope! : 

- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Battery Hacking
Let's see if we can figure out what Batbrain and the Boy blunder are at.......
I'm going to need a hacksaw
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Tesla Model 3 Battery Hacking
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Battery Hacking
Datasheet for the isolation transformer used on the bms comms.
- Attachments
-
XFBMC29DNC-BA09-A.pdf
- (51.25 KiB) Downloaded 1020 times
I'm going to need a hacksaw