Hello everyone!
I'm trying to read rfid-cards with rc522 and send info via ethernet on esp32wroom38pin. I have scheme to connect and it worsk well separately.
But scheme shows same pins for modules. I know I can change 18 and 32 pins for lan8720 and assign to others and it works. My problem is one common pin 19. Is it possible to change 19 pin for lan9720 or rc522? Or any other way to use both modules on my esp. I'm newbie any help appreciated.
esp32+lan8720+rc522
Re: esp32+lan8720+rc522
You can remove my post and delete my acc since this forum gives nothing
-
- Posts: 2
- Joined: Sun Aug 13, 2023 8:06 pm
Re: esp32+lan8720+rc522
Aorry for it dude, i pass throug the same, and i can't solve, did you find one way to that?
-
- Posts: 210
- Joined: Fri May 07, 2021 10:35 am
Re: esp32+lan8720+rc522
You cannot change GPIO for RMII EMAC. However, you can use whatever IO pin (via IO Matrix) for SPI if you don't need high speed SPI CLK (more than 26.6 MHz).
-
- Posts: 2
- Joined: Sun Aug 13, 2023 8:06 pm
Re: esp32+lan8720+rc522
so, how would you recommend me to connect all lan8720 with rfid? I didn't understand very well how all this would have to be done, if you could I would be gratefulESP_ondrej wrote: ↑Mon Aug 14, 2023 11:09 amYou cannot change GPIO for RMII EMAC. However, you can use whatever IO pin (via IO Matrix) for SPI if you don't need high speed SPI CLK (more than 26.6 MHz).
-
- Posts: 210
- Joined: Fri May 07, 2021 10:35 am
Re: esp32+lan8720+rc522
Read documentation at https://docs.espressif.com/projects/esp ... ac-and-phy and get familiar with REF RMII CLK options. In case of LAN8720, I recommend to use GPIO17 as CLK source to avoid board reset and startup issues, see https://www.crowdsupply.com/silicogniti ... reset-saga. However note, that you need WROOM module to be able to use GPIO16/17 since WROVER modules use these pins for PSRAM. In addition make sure, there is no oscillator on your LAN8720 dev board.
Then connect the remaining LAN8720 pins to GPIO as described at https://github.com/espressif/esp-idf/tr ... s/ethernet
SPI device can be connected to whatever pins left unconnected. However, I recommend avoiding using ESP32 bootstrap pins. They can be handled but it requires extra care so it is better to not use them for simplicity. Check the modules datasheet to find which pins are bootstrap.
Then connect the remaining LAN8720 pins to GPIO as described at https://github.com/espressif/esp-idf/tr ... s/ethernet
SPI device can be connected to whatever pins left unconnected. However, I recommend avoiding using ESP32 bootstrap pins. They can be handled but it requires extra care so it is better to not use them for simplicity. Check the modules datasheet to find which pins are bootstrap.
Who is online
Users browsing this forum: Baidu [Spider], ESP_Sprite, Majestic-12 [Bot] and 28 guests