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

ESP32 spi slave mode #2278

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

ESP32 spi slave mode #2278

wants to merge 13 commits into from

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Oct 4, 2024

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
  • My changes were added to the CHANGELOG.md in the proper section.
  • I have added necessary changes to user code to the Migration Guide.
  • My changes are in accordance to the esp-rs API guidelines

Extra:

Pull Request Details 📖

Description

The hardware has some difficulties with mode 0 and 2, so those aren't supported. According to the ESP-IDF docs we could make it work without DMA (and shovel FIFO contents into the buffer in interrupt handlers, for example).

Testing

Enabled the test case for ESP32, modified it to use Mode 1 and ran it locally (with a different pin assignment suitable for the Ethernet devkits I have).

Fixes #469

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.

SPI slave support
2 participants