-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
SAMD51 SPI Slave Mode #2131
Comments
@gingle It's not a high priority for us but we'd love a PR if you implement it yourself. We're also happy answering questions to get you started on it. I'd suggest looking at I2CSlave as a model for it. |
Can you point me to the I2CSlave code? |
https://github.com/adafruit/circuitpython/tree/master/ports/atmel-samd/common-hal/i2cslave Want me to reopen? It's still ok to leave open for the long term. |
I would leave it open for the long term. I have a lot on my plate so my work on this will be intermittent. Thanks for the links. |
Ok, reopened! No worries if it takes time. Please reach out if you have questions! Thanks! |
@gingle have you made any progress on this? I'm very interested in getting this going. |
Not for now. I have been sidetracked for awhile. |
I also would like to use the SAMD51 (Adafruit feather M4) as a SPI slave. Please let us know once progress has been made. |
Hi all! Not sure what the current status of progress is on this, but for a set of boards I'm working on, we've needed to get SPI communication between two SAM D51 boards running CircuitPython.* Our code is a bit of a mess right now since it's just for our internal project, but (admittedly not having looked through the commits mentioned here) it might be helpful developing this feature, if there's anyone else still interested in getting it running. Namely, I've noticed some talk in the issue linked here about messing with the DMA controller to get it working, and we've had to do that. We've got a fork at https://github.com/Bruin-Spacecraft-Group/bruinspace-circuitpython/tree/cfa4425d3443ebb54ace97f78d477a34079b44cd if you'd like to take a look. If there's anything you'd like from us to help with establishing these changes for others or documenting what we've done, let us know! |
When an issue is tagged "long term", Adafruit isn't prioritizing work on it. But we're always happy if a community member can contribute something! |
@Randall-Scharpf The easiest way for us to review what you've done is to make a pull request to this repo. That will show us a diff of changes that we can comment on. https://learn.adafruit.com/contribute-to-circuitpython-with-git-and-github/create-your-pull-request |
I would like to use the Metro M4 as a remote controller run by a master microcontroller. I need to read A/D results and send D/A levels as well as set logic pins. I am worried that the I2C and RX/TX lines are not fast enough and perhaps not as free from errors.
The text was updated successfully, but these errors were encountered: