Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: kobysz on December 28, 2022, 01:31:49 PM

Title: ESP32-POE RFID-RC522 problem
Post by: kobysz on December 28, 2022, 01:31:49 PM
Hello.
Can anybody provide me a working example of how to make RC522 rfid module to work with ESP32-POE? I have problem with SPI config, no communictaion. I think I'm doing something wrong with custom SPI configuratrion (no default pins on esp32-poe).
Title: Re: ESP32-POE RFID-RC522 problem
Post by: LubOlimex on January 05, 2023, 09:05:32 AM
You don't have to use the default pins. Any free GPIO can be defined for SPI usage. There is a slight downside of not using the default SPI pins in the speed. Refer to "Timing considerations" part in this article: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/spi_master.html#timing-considerations