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

Add support for active high CS #382

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andreasWallner
Copy link

We have a few custom devices that use active-high CS. I only looked after an initial implementation and then saw #86 and #258.

After checking those I saw that also the newer PR (#258) is too old to cover some of the current API, so I stuck with my implementation but took the API feedback from #258 on board and implemented the setting as an iterable over CS slot numbers.

I verified the changes with some devices here, as well as via logic analyzer and the added testcase.

I also fixed some forgotten fs in f-strings and a documentation typo.

Exchange test:
image

Read test:
image

Write test:
image

Mixed test:
image

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

Successfully merging this pull request may close these issues.

1 participant