Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BrendanKelly84213
Copy link
Contributor

@BrendanKelly84213 BrendanKelly84213 commented Oct 31, 2025

Description (tell us what you changes or added or removed please)

This seems to get BMS to consistently ACK from SAMV71 master for now. More research needs to be done to figure out why.

At this point I've come in a tried this 3 times this week and it seems to just work. Even tested with the CLion debugger on the samv71 and was able to see the values I'm returning in the debugger. Again no idea why. As far as I can tell the TI driver just casts the register to a volatile pointer.

How to test (if any tests done)

Tested with logic analyzer with SAMV71 as master and with debugger

Checklist

  • Code Compiles
  • Did you add any comments
  • Did you test it at all ?! Good Boy/Girl

This seems to get BMS to consistently ACK from SAMV71 master for now.
More research needs to be done to figure out why.
@BrendanKelly84213 BrendanKelly84213 self-assigned this Oct 31, 2025
@BrendanKelly84213 BrendanKelly84213 marked this pull request as ready for review October 31, 2025 03:03
static const SystemStatusResp_t sSystemStatus = {
.runtime = 0x12,
.fw_version = 0xA,
.runtime = 0xFE,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we know what each hex represents in this context, is it referenced in the datasheet ? If so add a comment what each hex/bit represents.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops I gotta get better at checking the diff. These don't mean anything they are like for BMS or something. Just random numbers atm I just use it for testing

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.

3 participants