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

Circuitpython Support? #1

Open
danthegoodman1 opened this issue Nov 14, 2021 · 3 comments
Open

Circuitpython Support? #1

danthegoodman1 opened this issue Nov 14, 2021 · 3 comments

Comments

@danthegoodman1
Copy link

I am very interested in getting Circuitpython supported for the AS5600, and have been using this as a starting point.

Initially I had something kind of working, but it would always give 0 for the .MD so I doubted it was working properly.

Now I've switched it around and can't seem to read data into the buffer without errors 🤷

The version of this repo I've been working on is found https://github.com/danthegoodman1/circuitPythonAS5600 if you want to take a peek, but would love to add support here. Mostly I've been trying to convert the i2c functionality over to the Circuitpython flavor. Using a RPi Pico. Circuitpython 7

@sgall17a
Copy link
Owner

sgall17a commented Nov 15, 2021 via email

@danthegoodman1
Copy link
Author

Noted that it was based on your work. I think the issue might be writing before reading is needed. Maybe I don't have that...

@neildavis
Copy link
Contributor

neildavis commented Feb 3, 2023

I think the issue with .MD etc is because the RegDescriptors for those are declared with the default value of buffsize=2, yet the STATUS register is a single byte? See #2

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

No branches or pull requests

3 participants