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
SPI #1
Comments
|
Hi thanks for your answer I use the Audio Kit Board and this is my wiring using SPI3 RC522 -> ESP32 CLK -> 18 And the sample sketch i use to test ( working fine with an another ESP and the same wiring ) : #include <SPI.h> #define RST_PIN 22 // Configurable, see typical pin layout above MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance void setup() { void loop() {
}` |
Hi Managed to connect a NFC reader using I2C but the I2C board are more expensive and usualy harder to find, so I'm still interested to know how to make a SPI MFRC522 work with this board. Thanks. |
C58 ... C61 (100nF) prevent GPIOs 5, 18, 19 and 23 from being used for SPI. Alternatives are GPIOs 12 ... 14 (JT_MTxx) on P1 |
Reason of my comment today is the same problem and this still open issue. |
Hey, I had the same issue - I wanted to run the RC522 via SPI or I2c and I also wanted to have a couple of spare IO Ports. Unfortunatly I could not manage to have a reliable SPI setup and also using the SD card continuously and therefore bought another PN532. It supports I2C (configurable with switches on most PCBs) with IRQ interrupts. Works great with the following Setup: SDA 22 I used this idf port by @lucafaccin https://github.com/lucafaccin/esp-pn532 and lowered the I2C clock rate to 10000. Maybe this comes handy for someone with similar issues. |
Hi, a little mod can help to get the pins free for spi and also the buttons running: https://youtu.be/r0af0DB1R68 |
Hey, for me the info here is kinda confusing. I watched your video and the IOs that you made free by the hack are 13 19 23 18 5, but you are using the IOs 0 mosi and 19 sclk for the SPI. Also in the documentation here https://github.com/pschatzmann/arduino-audiokit/wiki/GPIO-Overview-by-Selected-Board , the available IOs are 13 cs, 2 miso, 15 mosi and 14 clk. Is it possible to explain to me the exact wiring that you did in the pins on the board ( I cant find the 0 pin in the header) and tell me where i can track the miso pin? Thanks |
On my Pin header I have: In one setup I used the following to connect a display:
MISO could be connect to another free pin like IO22, IO18. If you don't use the SD card you may have some other pins left. I used IO13 and IO15 to access the SD-card. Hope this helps |
Hi I'm trying to control a RC522 NFC Reader with the SPI bus on the device, but I can't figure out how to make it work.
As a test, I use the DumpInfo sample from https://github.com/miguelbalboa/rfid in the Arduino IDE
On another basic esp32 device ( HELTEC OLED ESP32 ) using GPIOS 18 19 21 22 23, it works perfectly but not on the ESP32-A1S-AudioKit.
Any Idea what can be wrong ?
Thanks,
Nicolas.
The text was updated successfully, but these errors were encountered: