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

TTGO T-Display - How to use Ethernet module? #96

Open
jmexposi opened this issue Sep 2, 2022 · 0 comments
Open

TTGO T-Display - How to use Ethernet module? #96

jmexposi opened this issue Sep 2, 2022 · 0 comments

Comments

@jmexposi
Copy link

jmexposi commented Sep 2, 2022

Hi,

I try to use a W5500 or ENC28J60 ethernet modules with second SPI (HSPI) channel.

I find a lot of examples of the use of Ethernet, ehernet2, ethernetECH, and another libraries but I haven't been able to get it to work.

The main problem is that the pins defined by default in both SPI channels correspond to pins used on the board or are not exposed and when I try to change them in the SPI definition I do not see the way to assign it in the ethernet library.

Some examples try to redefine (define) MOSI, MISO, SCK and CS and I tried it with another generic esp32 card and I managed to make it work but only changing the CS

The closest I have been has been using an example for the ESP32-CAM + SD + Ethernet (3 SPI devices at the same time) but asks for pin 14 by default for SCK

I understand that it is not a problem with the card, but it makes it very difficult to work with it: has anyone tried to use an ethernet module on this card?

Tnks!
Br

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

No branches or pull requests

1 participant