Xinyuan-LilyGO / LilyGO-T-ETH-Series

167 stars 64 forks source link

T-ETH-Lite ESP32-S3: Second SPI for other device than TF Card? #68

Closed JFLSeoul closed 2 months ago

JFLSeoul commented 4 months ago

Hi, I want to use the W5500 and on the other SPI interface I want to connect a RFID reader and I do not need to use the TF Card. Is this still possible with the Hardware Layout ? Thank you very much !

lewisxhe commented 4 months ago

Of course. ESP can map any GPIO to SPI, you just need to specify the Pin during initialization.

JFLSeoul commented 4 months ago

Thank you for your answer. I wanted to use HSPI and VSPI for hardware SPI, which most esp32 boards have. So I thought that the W5500 might be using dedicated HSPI pins and the TF card might be using dedicated VSPI pins. What you suggest sounds a bit like software SPI?

lewisxhe commented 4 months ago

Didn't you say you don't need to use an SD card? You don't have to worry about the pins of the SD card. For other SPI devices, you only need to specify GPIO initialization like the SD card. Of course, you can also reuse SPI. This is used in many LilyGo devices using the SPI bus.

JFLSeoul commented 4 months ago

Yes, you are right, I do not want to use the SD card. On HSPI I want to use the w5500 and on VSPI I want to connect a RFID reader ( instead of the SD card). So to me it sounds possible and I will try:) thank you very much !

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.