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

Update AS5600.cpp #49

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Update AS5600.cpp #49

merged 2 commits into from
Aug 12, 2024

Conversation

zbas
Copy link

@zbas zbas commented Aug 7, 2024

Critical bug fix. The I2CADDR and I2CUPDT registers are single byte registers on AS5600L, without specifying this the default behaviour is to write two bytes. The address will then be mistakenly written as 0x00 which is a reserved I2C address. If this is followed by a burn settings, the wrong address may permanently be written and the sensor may be 'bricked'.

runger1101001 and others added 2 commits July 21, 2024 23:14
Critical bug fix. The I2CADDR and I2CUPDT registers are single byte registers on AS5600L, without specifying this the default behaviour is to write two bytes. The address will then be mistakenly written as 0x00 which is a reserved I2C address. If this is followed by a burn settings, the wrong address may permanently be written and the sensor may be 'bricked'.
@runger1101001 runger1101001 changed the base branch from master to dev August 12, 2024 08:53
@runger1101001 runger1101001 self-assigned this Aug 12, 2024
@runger1101001 runger1101001 added the bug Something isn't working label Aug 12, 2024
@runger1101001 runger1101001 added this to the 1.0.9 milestone Aug 12, 2024
@runger1101001 runger1101001 merged commit 4a722f7 into simplefoc:dev Aug 12, 2024
10 checks passed
@runger1101001
Copy link
Member

Thanks a lot for reporting this! I have merged it to the dev branch and it will be part of the next release.

@zbas zbas deleted the patch-1 branch August 13, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants