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

Update for SPI delay (ESP32) #125

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

Conversation

Flick3rF3r
Copy link

@Flick3rF3r Flick3rF3r commented Jan 23, 2024

Added 1ms delay for SPI too, because my V3 counterpart board from Aliexpress doesn't read cards properly without it (seen other people complain about it too) I'm using it with ESP32, works fine with Arduino for some reason. There are probably better ways to achieve the same result so correcting me is welcome ;)

added 1ms delay for spi, because V3 board from Aliexpress doesn't read cards properly without it
@Flick3rF3r Flick3rF3r changed the title Update Adafruit_PN532.cpp Update for SPI delay (Adafruit_PN532.cpp) Jan 23, 2024
@Flick3rF3r Flick3rF3r changed the title Update for SPI delay (Adafruit_PN532.cpp) Update for SPI delay (ESP32) Jan 23, 2024
@ellisgl
Copy link

ellisgl commented Apr 28, 2024

Can we re-run this, so we can figure out why the buil failed?

@PockyBum522
Copy link

I had another instance on a different model board of dropped ACK frames that wasn't solved by any amount of delay, either micros or millis.

See info in #117 but basically changing the SPI speed helped. It might be a better solution, as it seems to apply to more instances. I also suggested a few changes to make it so we could pass in either a custom SPI speed or just a custom SPI device to keep everything flexible.

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.

3 participants