bldc icon indicating copy to clipboard operation
bldc copied to clipboard

Fix AS504x DIAG and MAGN addresses.

Open raidoz opened this issue 2 years ago • 3 comments

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.

raidoz avatar Mar 31 '22 17:03 raidoz

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

Teslafly avatar Nov 06 '22 03:11 Teslafly

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.

vedderb avatar Nov 06 '22 09:11 vedderb

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

Teslafly avatar Dec 01 '22 05:12 Teslafly