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

Set clock polarity in software SPI implementations #1224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sephalon
Copy link

Set the clock polarity in software SPI implementations; previously CPOL was always 0.

I have only implemented this as a PoC for Arduino 4 wire software SPI so far, since I am not sure if I understand the differing implementations well enough and lack the required test setups; so please take this with a grain of salt.

@olikraus
Copy link
Owner

Indeed I also have some doubts. You are probably right, that there is something missing, but wouldn't your implementation lead to an additional transition?

Other question is: Which display did cause problems here?

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.

None yet

2 participants