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 GPIO for SPI Chip Selection? #51

Open
Qingwu-Li opened this issue May 17, 2021 · 1 comment
Open

Support GPIO for SPI Chip Selection? #51

Qingwu-Li opened this issue May 17, 2021 · 1 comment

Comments

@Qingwu-Li
Copy link

Possible to support an/several GPIO for SPI Chip Selection?

@vsergeev
Copy link
Owner

This could be supported relatively easily by passing a GPIO object as a cs_gpio keyword argument in the SPI constructor. The SPI object would assert and deassert the chip select in transfer(). Inverted / non-inverted would be up to the GPIO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants