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

Fix AS504x DIAG and MAGN addresses. #462

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

raidoz
Copy link

@raidoz raidoz commented Mar 31, 2022

According to AS5047D datasheet (https://ams.com/documents/20143/36005/AS5047D_DS000394_2-00.pdf), DIAAGC is 0x3FFC and MAG is 0x3FFD, in enc_as504x.c they are, however, incremented by one, reading back MAG for DIAG and ANGLEUNC for MAG.

@Teslafly
Copy link
Contributor

Teslafly commented Nov 6, 2022

Just checking, was this tested? If so using what setup?

@vedderb
Copy link
Owner

vedderb commented Nov 6, 2022

I currently have no way to test this as I didn't add miso to any of my as5047 test boards. It would be good if someone who has been using the as504x with miso can give some feedback on this.

@Teslafly
Copy link
Contributor

Teslafly commented Dec 1, 2022

Should this be included the the v6.0 firmware release?

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