AMS_AS5048B
AMS_AS5048B copied to clipboard
I2c address constraint ?
In the program_adress.ino file you are using adress 0x01. When i go to the official adress lis of the i2c organisation. https://i2cdevices.org/addresses , i see that the low addreses are reserved.
Did you had problems with theses the low addresses ?
I would like to use the 0x50 to 0x56 addresses could i expect any issues ?
I tried to program 0x50 and had a few problems. For some reason it seems that the adress did not change. - When i scan my i2c devices, it is not detected but - Fortunately, i am still able to read the angle with the simple read program. - If i read the adress register 255 is returned. ( it is the same value that i have on ea second board where i did not change the address yet )
- I have found the AMS i2c programming notice, and since i am using a 3.3volt board i think that the address simply did
not program because 5v is required or we must add a capacitor when we have 3.3 volt only.
( both conditions that i did not respected because i was not aware of this constraint)
https://ams.com/documents/20143/36005/AS5048_AN000386_1-00.pdf
Should i retry with a simple uno board that i have in hand?
Can you please test on a Uno board to check the device.