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

Control SPI chip select #52

Open
webmeister opened this issue Jul 5, 2021 · 1 comment
Open

Control SPI chip select #52

webmeister opened this issue Jul 5, 2021 · 1 comment

Comments

@webmeister
Copy link
Contributor

I need to keep the SPI chip select asserted while transferring multiple messages (and doing some processing in between). The necessary low-level interface already exists (_CSpiIocTransfer.cs_change). Can this be made accessible from the high-level Python interface (i.e. SPI.transfer)?

@Livius90
Copy link

Livius90 commented Sep 25, 2021

Duplicated issue: #37, vsergeev/c-periphery#19

It would be useful for me also. I made a modified def transfer_burst(self, data): method to do it. I could send it in a pull-request.

But pay attention that not all SPI controller driver can support it, i had to implement it in spi kernel driver for my SPI controller, too.

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

2 participants