Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tesla SX 2021+ batteries support #551

Merged

Conversation

vitalii-ch
Copy link
Contributor

What

This PR implements experimental support for new 100 kW Tesla Model X and S batteries starting from the 2021 model year.

Why

These batteries use a different communication protocol with the BMS, requiring the transmission of additional CAN frames for proper battery operation.

How

This implementation introduces the transmission of additional CAN events with timing closely matching the original protocol.

By default, when the TESLA_MODEL_SX_BATTERY configuration is selected, the additional CAN frame transmission will be enabled.

Additionally, a new experimental define EXP_TESLA_BMS_DIGITAL_HVIL has been added, which triggers the transmission of these extra frames. This is necessary for testing with the latest BMS firmware for Model 3/Y batteries, as there is a hypothesis that the BMS firmware update, which communicates through the new 1CF and 118 frames, may also apply to these vehicles.

Copy link
Owner

@dalathegreat dalathegreat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Approving this 🙌

@vitalii-ch vitalii-ch requested a review from matvey83 October 22, 2024 05:33
Tesla Batteries: change explanation for experimental parameter
@vitalii-ch vitalii-ch requested a review from matvey83 October 22, 2024 15:38
@dalathegreat
Copy link
Owner

Is this OK to merge now?

@vitalii-ch
Copy link
Contributor Author

Is this OK to merge now?

I see no reason to delay it. The dialogue was only about the wording of the comment and I took the proposed one as the final option. So we can merge it

@dalathegreat dalathegreat merged commit b419ee3 into dalathegreat:main Oct 23, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants