ESP32s/ESP-WROOM-32 with SD and LAN8720 ethernet #689
-
I have added an SD board and LAN8720 board in accordance with this layout I found in this thread: #268 As a result, here is how I have the boards configured: When I attempt to boot after installing the latest ESP3DEUXQUAD_DMX image (the only one I could find that matched the pin configuration), I receive the following: 17:41:48: [EthDrv] Entering State: Powering Up My question is twofold:
Thanks in advance! Edit: It was my understanding based on issue #268 that was no longer needed. If I am incorrect, please let me know. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
The GPIOs used for Ethernet cannot be changed. You have to use the GPIOs as defined in the platform definitions files EXACTLY. The hardware is very specific about how this gets wired. Here are the GPIO definitions. #define ETH_ADDR_PHY_TLK110 31 |
Beta Was this translation helpful? Give feedback.
-
You should not be getting repeated connect messages. There may be some noise in your HW setup. The signals going to the Eth board are pretty sensitive. The LoLin ESP32 - Pro board may be a better starting point for you. You would need to change the SD card GPIO settings but the Eth settings remain the same. Can you send me a link to the CPU board? I can add it to the list of platforms in January. FYI: None of the compiled versions are set up for the 32S version. There are known differences that could be causing the issue you are seeing. |
Beta Was this translation helpful? Give feedback.
-
I usually pull NC pins high through a 4.7K resistor. nInt should be pulled high. It controls how the lock input is used. |
Beta Was this translation helpful? Give feedback.
-
NC means - No Connection. In general it is not good to have a pin floating (even those not connected to an internal substrate) so designers will pull them high or low (whatever is most convenient). I prefer high. Others prefer low. both will work on an NC pin. nINT is a configuration strapping pin and to work in this configuration it must be pulled high. |
Beta Was this translation helpful? Give feedback.
-
You will also need to add an entry in the Platformio.ini file. In that file you will add the build information for your device. Use the LoLin Pro as your guide. Change the board = ??? to select the CPU you are using. That setting controls a lot of the libraries used for the freertos HW support. |
Beta Was this translation helpful? Give feedback.
You will also need to add an entry in the Platformio.ini file. In that file you will add the build information for your device. Use the LoLin Pro as your guide. Change the board = ??? to select the CPU you are using. That setting controls a lot of the libraries used for the freertos HW support.