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

Support SPI #48

Closed
3 tasks done
Peter-van-Tol opened this issue Sep 20, 2023 · 1 comment · Fixed by #57
Closed
3 tasks done

Support SPI #48

Peter-van-Tol opened this issue Sep 20, 2023 · 1 comment · Fixed by #57
Assignees
Labels
enhancement New feature or request

Comments

@Peter-van-Tol
Copy link
Owner

Peter-van-Tol commented Sep 20, 2023

Support SPI for RPi4.

This entails:

  • Update configuration, so people can choose which connection the want to make;
  • New SPI-driver. Proposed connection string will be spi:<file-descriptor-path>;
  • New SPI-bridge for the firmware;
@Peter-van-Tol Peter-van-Tol added the enhancement New feature or request label Sep 20, 2023
@Peter-van-Tol Peter-van-Tol self-assigned this Sep 20, 2023
@Peter-van-Tol
Copy link
Owner Author

Boilerplate added, the new driver can be added with:

loadrt litexcnc connections="spi:/dev/spidev0.0"

With the boilerplate code, this will load the correct driver and opens a connection with the SPI pins of the card. It will fail the communication to the card, because the communication routines have not been implemented yet. For this a card with the SPI-bridge is required....

@Peter-van-Tol Peter-van-Tol linked a pull request Nov 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant