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

driver(spi): fix flag check in bus initialization (IDFGH-7574) #9133

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

yannishuber
Copy link
Contributor

@yannishuber yannishuber commented Jun 9, 2022

The current flag check in the SPI bus initialization is wrong and causes exceptions when using certain SPI hosts in quad transfert mode.

If the SPI host only supports quad mode and not octal mode (which is the case on the SPI3 host of the ESP32-S3) then we unnecessarily initialize the data4-7 pins which causes an exception.

This check ensures that we only initialize the data4-7 pins if we are in octal mode.

The current flag check in the SPI bus initialization is wrong and
causes exceptions when using certain SPI hosts in quad transfert mode.
@CLAassistant
Copy link

CLAassistant commented Jun 9, 2022

CLA assistant check
All committers have signed the CLA.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Jun 9, 2022
@github-actions github-actions bot changed the title driver(spi): fix flag check in bus initialization driver(spi): fix flag check in bus initialization (IDFGH-7574) Jun 9, 2022
@Alvin1Zhang
Copy link
Collaborator

Thanks for your contribution.

@suda-morris suda-morris added the PR-Sync-Merge Pull request sync as merge commit label Jun 10, 2022
@suda-morris
Copy link
Collaborator

sha=3397cf465d60ddb9806838ebeba57b826fa20fdc

@espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new Resolution: NA Issue resolution is unavailable labels Jun 15, 2022
@espressif-bot espressif-bot merged commit 1b63128 into espressif:master Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Sync-Merge Pull request sync as merge commit Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants