Skip to content

Add support for active high CS#382

Open
andreasWallner wants to merge 2 commits into
eblot:masterfrom
andreasWallner:cs_active_high
Open

Add support for active high CS#382
andreasWallner wants to merge 2 commits into
eblot:masterfrom
andreasWallner:cs_active_high

Conversation

@andreasWallner

Copy link
Copy Markdown

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