|
|
@@ -1,16 +1,21 @@
|
|
|
-ESP32-Ethernet-Kit V1.0 Getting Started Guide
|
|
|
+ESP32-Ethernet-Kit V1.1 Getting Started Guide
|
|
|
=============================================
|
|
|
|
|
|
-:link_to_translation:`zh_CN:[中文]`
|
|
|
+.. todo::
|
|
|
+
|
|
|
+ * Restore "link_to_translation" once translation is done
|
|
|
+ * :link_to_translation:`zh_CN:[中文]`
|
|
|
+ * Replace V1.0 board pictures with V1.1
|
|
|
+
|
|
|
|
|
|
This guide shows how to get started with the ESP32-Ethernet-Kit development board and also provides information about its functionality and configuration options.
|
|
|
|
|
|
-The :ref:`ESP32-Ethernet-Kit <get-started-esp32-ethernet-kit-b-v1.0>` is an Ethernet-to-Wi-Fi development board that enables Ethernet devices to be interconnected over Wi-Fi. At the same time, to provide more flexible power supply options, the ESP32-Ethernet-Kit also supports power over Ethernet (PoE).
|
|
|
+The :ref:`ESP32-Ethernet-Kit <get-started-esp32-ethernet-kit-v1.1>` is an Ethernet-to-Wi-Fi development board that enables Ethernet devices to be interconnected over Wi-Fi. At the same time, to provide more flexible power supply options, the ESP32-Ethernet-Kit also supports power over Ethernet (PoE).
|
|
|
|
|
|
What You Need
|
|
|
-------------
|
|
|
|
|
|
-* :ref:`ESP32-Ethernet-Kit V1.0 board <get-started-esp32-ethernet-kit-b-v1.0>`
|
|
|
+* :ref:`ESP32-Ethernet-Kit V1.1 board <get-started-esp32-ethernet-kit-v1.1>`
|
|
|
* USB 2.0 A to Micro B Cable
|
|
|
* Computer running Windows, Linux, or macOS
|
|
|
|
|
|
@@ -21,18 +26,18 @@ Overview
|
|
|
|
|
|
ESP32-Ethernet-Kit is an ESP32-based development board produced by `Espressif <https://espressif.com>`_.
|
|
|
|
|
|
-It consists of two development boards, the Ethernet board A and the PoE board B, The :ref:`Ethernet board (A) <get-started-esp32-ethernet-kit-a-v1.0-layout>` contains Bluetooth / Wi-Fi dual-mode ESP32-WROVER-B module and IP101GRI, a Single Port 10/100 Fast Ethernet Transceiver (PHY). The :ref:`PoE board (B) <get-started-esp32-ethernet-kit-b-v1.0-layout>` provides power over Ethernet functionality. The A board can work independently, without the board B installed.
|
|
|
+It consists of two development boards, the Ethernet board A and the PoE board B. The :ref:`Ethernet board (A) <get-started-esp32-ethernet-kit-a-v1.1-layout>` contains Bluetooth / Wi-Fi dual-mode ESP32-WROVER-B module and IP101GRI, a Single Port 10/100 Fast Ethernet Transceiver (PHY). The `PoE board (B)`_ provides power over Ethernet functionality. The A board can work independently, without the board B installed.
|
|
|
|
|
|
-.. _get-started-esp32-ethernet-kit-b-v1.0:
|
|
|
+.. _get-started-esp32-ethernet-kit-v1.1:
|
|
|
|
|
|
-.. figure:: ../../_static/esp32-ethernet-kit-v1.0.png
|
|
|
+.. figure:: ../../_static/esp32-ethernet-kit-v1.1.png
|
|
|
:align: center
|
|
|
- :alt: ESP32-Ethernet-Kit V1.0
|
|
|
+ :alt: ESP32-Ethernet-Kit V1.1
|
|
|
:figclass: align-center
|
|
|
|
|
|
- ESP32-Ethernet-Kit V1.0
|
|
|
+ ESP32-Ethernet-Kit V1.1
|
|
|
|
|
|
-For the application loading and monitoring the Ethernet board (A) also features FTDI FT2232HL chip - an advanced multi-interface USB bridge. This chip enables to use JTAG for direct debugging of ESP32 through the USB interface without a separate JTAG debugger.
|
|
|
+For the application loading and monitoring, the Ethernet board (A) also features FTDI FT2232HL chip - an advanced multi-interface USB bridge. This chip enables to use JTAG for direct debugging of ESP32 through the USB interface without a separate JTAG debugger.
|
|
|
|
|
|
|
|
|
Functionality Overview
|
|
|
@@ -40,9 +45,9 @@ Functionality Overview
|
|
|
|
|
|
The block diagram below shows the main components of ESP32-Ethernet-Kit and their interconnections.
|
|
|
|
|
|
-.. figure:: ../../_static/esp32-ethernet-kit-block-diagram.png
|
|
|
+.. figure:: ../../_static/esp32-ethernet-kit-v1.1-block-diagram.png
|
|
|
:align: center
|
|
|
- :scale: 50%
|
|
|
+ :scale: 60%
|
|
|
:alt: ESP32-Ethernet-Kit block diagram (click to enlarge)
|
|
|
:figclass: align-center
|
|
|
|
|
|
@@ -52,15 +57,15 @@ The block diagram below shows the main components of ESP32-Ethernet-Kit and thei
|
|
|
Functional Description
|
|
|
----------------------
|
|
|
|
|
|
-The following two figures and tables describe the key components, interfaces, and controls of the ESP32-Ethernet-Kit.
|
|
|
+The following figures and tables describe the key components, interfaces, and controls of the ESP32-Ethernet-Kit.
|
|
|
|
|
|
|
|
|
-.. _get-started-esp32-ethernet-kit-a-v1.0-layout:
|
|
|
+.. _get-started-esp32-ethernet-kit-a-v1.1-layout:
|
|
|
|
|
|
Ethernet Board (A)
|
|
|
^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
-.. figure:: ../../_static/esp32-ethernet-kit-a-v1.0-layout.png
|
|
|
+.. figure:: ../../_static/esp32-ethernet-kit-a-v1.1-layout.png
|
|
|
:align: center
|
|
|
:scale: 80%
|
|
|
:alt: ESP32-Ethernet-Kit - Ethernet board (A) layout
|
|
|
@@ -70,26 +75,22 @@ Ethernet Board (A)
|
|
|
|
|
|
The table below provides description starting from the picture's top right corner and going clockwise.
|
|
|
|
|
|
-================== =================================================================================================================================
|
|
|
+================== ===========================================================================
|
|
|
Key Component Description
|
|
|
-================== =================================================================================================================================
|
|
|
+================== ===========================================================================
|
|
|
ESP32-WROVER-B This ESP32 module features 64-Mbit PSRAM for flexible extended storage and data processing capabilities.
|
|
|
|
|
|
GPIO Header 2 Five unpopulated through-hole solder pads to provide access to selected GPIOs of ESP32. For details, see `GPIO Header 2`_.
|
|
|
|
|
|
-Flow Control A jumper header with access to the board signals. For details, see `Flow Control`_.
|
|
|
-
|
|
|
-Function Switch A DIP switch used to configure the functionality of selected GPIOs of ESP32. For details, see `Function Switch`_.
|
|
|
+Function Switch A 4-bit DIP switch used to configure the functionality of selected GPIOs of ESP32. Please note that placement of GPIO pin number marking on the board's silkscreen besides the DIP switch is incorrect. For details and correct pin allocation see `Function Switch`_.
|
|
|
|
|
|
Tx/Rx LEDs Two LEDs to show the status of UART transmission.
|
|
|
|
|
|
-GPIO Header 3 Provides access to some GPIOs of ESP32 that can be used depending on the position of the `Function Switch`_.
|
|
|
-
|
|
|
-FT2232 The FT2232 chip serves as a multi-protocol USB-to-serial bridge which can be programmed and controlled via USB to provide communication with ESP32. FT2232 also features USB-to-JTAG interface which is available on channel A of the chip, while USB-to-serial is on channel B. The FT2232 chip enhances user-friendliness in terms of application development and debugging. See `ESP32-Ethernet-Kit V1.0 Ethernet board (A) schematic`_.
|
|
|
+FT2232H The FT2232H chip serves as a multi-protocol USB-to-serial bridge which can be programmed and controlled via USB to provide communication with ESP32. FT2232H also features USB-to-JTAG interface which is available on channel A of the chip, while USB-to-serial is on channel B. The FT2232H chip enhances user-friendliness in terms of application development and debugging. See `ESP32-Ethernet-Kit V1.1 Ethernet board (A) schematic`_.
|
|
|
|
|
|
USB Port USB interface. Power supply for the board as well as the communication interface between a computer and the board.
|
|
|
|
|
|
-Power Switch Power On/Off Switch. Toggling toward the **Boot** button powers the board on, toggling away from **Boot** powers the board off.
|
|
|
+Power Switch Power On/Off Switch. Toggling the switch to **5V0** position powers the board on, toggling to **GND** position powers the board off.
|
|
|
|
|
|
5V Input The 5V power supply interface can be more convenient when the board is operating autonomously (not connected to a computer).
|
|
|
|
|
|
@@ -97,7 +98,7 @@ Power Switch Power On/Off Switch. Toggling toward the **Boot** button pow
|
|
|
|
|
|
DC/DC Converter Provided DC 5 V to 3.3 V conversion, output current up to 2A.
|
|
|
|
|
|
-Board B Connectors A pair male header pins for mounting the :ref:`PoE board (B) <get-started-esp32-ethernet-kit-b-v1.0-layout>`.
|
|
|
+Board B Connectors A pair male and female header pins for mounting the `PoE board (B)`_.
|
|
|
|
|
|
IP101GRI (PHY) The physical layer (PHY) connection to the Ethernet cable is implemented using the `IP101GRI <http://www.bdtic.com/DataSheet/ICplus/IP101G_DS_R01_20121224.pdf>`_ chip. The connection between PHY and ESP32 is done through the reduced media-independent interface (RMII), a variant of the media-independent interface `(MII) <https://en.wikipedia.org/wiki/Media-independent_interface>`_ standard. The PHY supports the IEEE 802.3 / 802.3u standard of 10/100Mbps.
|
|
|
|
|
|
@@ -107,16 +108,13 @@ Magnetics Module The Magnetics are part of the Ethernet specification to prot
|
|
|
|
|
|
Link/Activity LEDs Two LEDs (green and red) that respectively indicate the "Link" and "Activity" statuses of the PHY.
|
|
|
|
|
|
-BOOT Button Download button. Holding down **BOOT** and then pressing **CH_PU** initiates Firmware Download mode for downloading firmware through the serial port.
|
|
|
+BOOT Button Download button. Holding down **BOOT** and then pressing **EN** initiates Firmware Download mode for downloading firmware through the serial port.
|
|
|
|
|
|
-CH_PU Button Reset button.
|
|
|
+EN Button Reset button.
|
|
|
|
|
|
GPIO Header 1 This header provides six unpopulated through-hole solder pads connected to spare GPIOs of ESP32. For details, see `GPIO Header 1`_.
|
|
|
|
|
|
-================== =================================================================================================================================
|
|
|
-
|
|
|
-
|
|
|
-.. _get-started-esp32-ethernet-kit-b-v1.0-layout:
|
|
|
+================== ===========================================================================
|
|
|
|
|
|
PoE Board (B)
|
|
|
^^^^^^^^^^^^^
|
|
|
@@ -138,17 +136,17 @@ To take advantage of the PoE functionality the **RJ45 Port** of the Ethernet boa
|
|
|
|
|
|
ESP32-Ethernet-Kit - PoE board (B) layout (click to enlarge)
|
|
|
|
|
|
-========================== =================================================================================================================================
|
|
|
-Key Component Description
|
|
|
-========================== =================================================================================================================================
|
|
|
-Board A Connector Four female header pins for mounting this board onto :ref:`Ethernet board (A) <get-started-esp32-ethernet-kit-a-v1.0-layout>`.
|
|
|
+======================== =====================================================================
|
|
|
+Key Component Description
|
|
|
+======================== =====================================================================
|
|
|
+Board A Connector Four female (left) and four male (right) header pins for connecting the PoE board (B) to :ref:`Ethernet board (A) <get-started-esp32-ethernet-kit-a-v1.1-layout>`. The pins on the left accept power coming from a PoE switch. The pins on the right deliver 5 V power supply to the Ethernet board (A).
|
|
|
|
|
|
-External Power Terminals Optional power supply to the PoE board (B).
|
|
|
+External Power Terminals Optional power supply (26.6 ~ 54 V) to the PoE board (B).
|
|
|
|
|
|
-========================== =================================================================================================================================
|
|
|
+======================== =====================================================================
|
|
|
|
|
|
|
|
|
-.. _get-started-esp32-ethernet-kit-b-v1.0-setup-options:
|
|
|
+.. _get-started-esp32-ethernet-kit-v1.1-setup-options:
|
|
|
|
|
|
Setup Options
|
|
|
-------------
|
|
|
@@ -159,37 +157,60 @@ This section describes options to configure the ESP32-Ethernet-Kit hardware.
|
|
|
Function Switch
|
|
|
^^^^^^^^^^^^^^^
|
|
|
|
|
|
-The functions for specific GPIO pins can be selected with the Function Switch.
|
|
|
+When in On position, this DIP switch is routing listed GPIOs to FT2232H to provide JTAG functionality. When in Off position, the GPIOs may be used for other purposes.
|
|
|
+
|
|
|
+======= ================
|
|
|
+DIP SW GPIO Pin
|
|
|
+======= ================
|
|
|
+ 1 GPIO13
|
|
|
+ 2 GPIO12
|
|
|
+ 3 GPIO15
|
|
|
+ 4 GPIO14
|
|
|
+======= ================
|
|
|
+
|
|
|
+.. note::
|
|
|
+
|
|
|
+ Placement of GPIO pin number marking on the board's silkscreen besides the DIP switch is incorrect. Please use instead the pin order as in the table above.
|
|
|
+
|
|
|
+
|
|
|
+RMII Clock Selection
|
|
|
+^^^^^^^^^^^^^^^^^^^^
|
|
|
+
|
|
|
+ESP32's RMII and the external PHY need a common 50 MHz reference clock. The clock for the ESP32 RMII can be provided either externally, or generated from internal ESP32 APLL.
|
|
|
+
|
|
|
+.. note::
|
|
|
+
|
|
|
+ For additional information on implementation of the RMII clock selection please refer to `ESP32-Ethernet-Kit V1.1 Ethernet board (A) schematic`_, sheet 2, location D2.
|
|
|
+
|
|
|
+RMII Clock Sourced Externally by PHY
|
|
|
+""""""""""""""""""""""""""""""""""""
|
|
|
+
|
|
|
+By default the ESP32-Ethernet-Kit is configured to provide this clock from the IP101GRI PHY's 50M_CLKO output. The source of the clock signal itself is 25 MHz crystal oscillator connected to the PHY. For details please see the figure below.
|
|
|
+
|
|
|
+.. figure:: ../../_static/esp32-ethernet-kit-rmii-clk-from-phy.png
|
|
|
+ :align: center
|
|
|
+ :scale: 80%
|
|
|
+ :alt: RMII Clock from IP101GRI PHY
|
|
|
+ :figclass: align-center
|
|
|
+
|
|
|
+ RMII Clock from IP101GRI PHY
|
|
|
|
|
|
-======= ================ ================================================================
|
|
|
-DIP SW GPIO Pin Pin Functionality if DIP SW is ON
|
|
|
-======= ================ ================================================================
|
|
|
- 1 GPIO14 Connected to FT2232 to provide JTAG functionality
|
|
|
- 2 GPIO12 Connected to FT2232 to provide JTAG functionality
|
|
|
- 3 GPIO13 Connected to FT2232 to provide JTAG functionality
|
|
|
- 4 GPIO15 Connected to FT2232 to provide JTAG functionality
|
|
|
- 5 GPIO4 Connected to FT2232 to provide JTAG functionality
|
|
|
- 6 GPIO2 Connected to on-board 25 MHz oscillator
|
|
|
- 7 GPIO5 Connected to RESET_N input of IP101GRI
|
|
|
- 8 n/a
|
|
|
-======= ================ ================================================================
|
|
|
+Please note that the PHY is reset on power up by pulling the RESET_N signal down with a resistor. Then the PHY should be enabled by ESP32 by asserting GPIO5 high. Such sequence is required on power up to disable the REF_CLK_50M clock signal on GPIO0 strapping pin. If the clock is enabled it may cause the ESP32 to lock up in a boot mode.
|
|
|
|
|
|
-You can make a certain GPIO pin available for other purposes by putting its DIP SW to the Off position.
|
|
|
+RMII Clock Sourced Internally from ESP32's APLL
|
|
|
+"""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
|
|
+Another option is to source the RMII Clock from internal ESP32 APLL, see figure below. The clock signal coming from GPIO0 is first inverted, to account for transmission line delay, and then supplied to the PHY.
|
|
|
|
|
|
-Flow Control
|
|
|
-^^^^^^^^^^^^
|
|
|
+.. figure:: ../../_static/esp32-ethernet-kit-rmii-clk-to-phy.png
|
|
|
+ :align: center
|
|
|
+ :scale: 80%
|
|
|
+ :alt: RMII Clock from ESP Internal APLL
|
|
|
+ :figclass: align-center
|
|
|
|
|
|
-This is a 2 x 2 jumper pin header intended for the UART flow control.
|
|
|
+ RMII Clock from ESP Internal APLL
|
|
|
|
|
|
-==== ======= =================================================
|
|
|
-. Signal Comment
|
|
|
-==== ======= =================================================
|
|
|
- 1 MTDO GPIO13, see also `Function Switch`_
|
|
|
- 2 MTCK GPIO15, see also `Function Switch`_
|
|
|
- 3 RTS RTS signal of FT2232
|
|
|
- 4 CTS CTS signal of FT2232
|
|
|
-==== ======= =================================================
|
|
|
+To implement this option users need to replace and add some components using already provided on the board solder pads and connections. For details please refer to `ESP32-Ethernet-Kit V1.1 Ethernet board (A) schematic`_, sheet 2, location D2. Please note that if the APLL is already used for other purposes (e.g. I2S peripheral), then you have no choice but use an external RMII clock.
|
|
|
|
|
|
|
|
|
GPIO Allocation
|
|
|
@@ -201,7 +222,7 @@ This section describes allocation of ESP32 GPIOs to specific interfaces or funct
|
|
|
IP101GRI (PHY) Interface
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
-The allocation of the ESP32 (MAC) pins to IP101GRI (PHY) is shown in the table below.
|
|
|
+The allocation of the ESP32 (MAC) pins to IP101GRI (PHY) is shown in the table below. Implementation of ESP32-Ethernet-Kit defaults to Reduced Media-Independent Interface (RMII).
|
|
|
|
|
|
==== ================ ===============
|
|
|
. ESP32 Pin (MAC) IP101GRI (PHY)
|
|
|
@@ -228,7 +249,7 @@ The allocation of the ESP32 (MAC) pins to IP101GRI (PHY) is shown in the table b
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
- Except for REF_CLK, the allocation of all pins under the *RMII Interface* is fixed and cannot be changed either through IOMUX or GPIO Matrix.
|
|
|
+ Except for REF_CLK, the allocation of all pins under the ESP32's *RMII Interface* is fixed and cannot be changed either through IOMUX or GPIO Matrix.
|
|
|
|
|
|
|
|
|
GPIO Header 1
|
|
|
@@ -251,46 +272,35 @@ This header exposes some GPIOs that are not used elsewhere on the ESP32-Ethernet
|
|
|
GPIO Header 2
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
-This header contains the GPIOs with specific RMII functionality (except GPIO2). Depending on the situation, specific Ethernet applications might require this functionality.
|
|
|
-
|
|
|
-==== ========== ================= ==================
|
|
|
-. ESP32 Pin RMII Function Comments
|
|
|
-==== ========== ================= ==================
|
|
|
- 1 GPIO17 EMAC_CLK_180 See note 1
|
|
|
- 2 GPIO16 EMAC_CLK_OUT See note 1
|
|
|
- 3 GPIO4 EMAC_TX_ER
|
|
|
- 4 GPIO2 n/a See note 2
|
|
|
- 5 GPIO5 EMAC_RX_CLK See note 2
|
|
|
-==== ========== ================= ==================
|
|
|
+This header contains GPIOs that may be used for other purposes depending on scenarios described in column "Comments".
|
|
|
+
|
|
|
+==== ========== ====================
|
|
|
+. ESP32 Pin Comments
|
|
|
+==== ========== ====================
|
|
|
+ 1 GPIO17 See note 1
|
|
|
+ 2 GPIO16 See note 1
|
|
|
+ 3 GPIO4
|
|
|
+ 4 GPIO2
|
|
|
+ 5 GPIO13 See note 2
|
|
|
+ 6 GPIO12 See note 2
|
|
|
+ 7 GPIO15 See note 2
|
|
|
+ 8 GPIO14 See note 2
|
|
|
+ 9 GND Ground
|
|
|
+10 3V3 3.3 V power supply
|
|
|
+==== ========== ====================
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
- 1. The ESP32 pins GPIO16 and GPIO17 are not broken out to the ESP32-WROVER-B module and therefore not available for use. If you need to use these pins, please solder a module without SPIRAM memory inside, e.g. the ESP32-WROOM-32D or ESP32-SOLO-1.
|
|
|
- 2. Functionality depends on the settings of the `Function Switch`_.
|
|
|
-
|
|
|
+ 1. The ESP32 pins GPIO16 and GPIO17 are not broken out to the ESP32-WROVER-B module and therefore not available for use. If you need to use these pins, please solder a module without PSRAM memory inside, e.g. the ESP32-WROOM-32D or ESP32-SOLO-1.
|
|
|
|
|
|
-GPIO Header 3
|
|
|
-^^^^^^^^^^^^^
|
|
|
-
|
|
|
-The functionality of GPIOs connected to this header depends on the settings of the `Function Switch`_.
|
|
|
-
|
|
|
-==== ===========
|
|
|
-. ESP32 Pin
|
|
|
-==== ===========
|
|
|
- 1 GPIO15
|
|
|
- 2 GPIO13
|
|
|
- 3 GPIO12
|
|
|
- 4 GPIO14
|
|
|
- 5 GND
|
|
|
- 6 3V3
|
|
|
-==== ===========
|
|
|
+ 2. Functionality depends on the settings of the `Function Switch`_.
|
|
|
|
|
|
|
|
|
GPIO Allocation Summary
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
.. csv-table::
|
|
|
- :header: ESP32-WROVER-B,IP101GRI,UART,JTAG,GPIO, Comments
|
|
|
+ :header: ESP32-WROVER-B,IP101GRI,UART,JTAG,GPIO,Comments
|
|
|
|
|
|
S_VP,,,,IO36,
|
|
|
S_VN,,,,IO39,
|
|
|
@@ -305,12 +315,12 @@ GPIO Allocation Summary
|
|
|
IO12,,,TDI,IO12,
|
|
|
IO13,,RTS,TCK,IO13,
|
|
|
IO15,,CTS,TDO,IO15,
|
|
|
- IO2,,,,IO2,See notes 1 and 3 below
|
|
|
- IO0,REF_CLK,,,,See notes 2 and 3 below
|
|
|
- IO4,,,nTRST,IO4,
|
|
|
- IO16,,,,IO16 (NC),See note 4 below
|
|
|
- IO17,,,,IO17 (NC),See note 4 below
|
|
|
- IO5,Reset_N,,,IO5,
|
|
|
+ IO2,,,,IO2,
|
|
|
+ IO0,REF_CLK,,,,See note 1
|
|
|
+ IO4,,,,IO4,
|
|
|
+ IO16,,,,IO16 (NC),See note 2
|
|
|
+ IO17,,,,IO17 (NC),See note 2
|
|
|
+ IO5,Reset_N,,,,See note 1
|
|
|
IO18,MDIO,,,,
|
|
|
IO19,TXD[0],,,,
|
|
|
IO21,TX_EN,,,,
|
|
|
@@ -319,17 +329,13 @@ GPIO Allocation Summary
|
|
|
IO22,TXD[1],,,,
|
|
|
IO23,MDC,,,,
|
|
|
|
|
|
-
|
|
|
.. note::
|
|
|
|
|
|
- 1. GPIO2 is used to enable external oscillator of the PHY.
|
|
|
- 2. GPIO0 is a source of 50 MHz reference clock for the PHY. The clock signal is first inverted, to account for transmission line delay, and then supplied to the PHY.
|
|
|
- 3. To prevent affecting the power-on state of GPIO0 by the clock output on the PHY side, the PHY external oscillator is enabled using GPIO2 after ESP32 is powered up.
|
|
|
- 4. The ESP32 pins GPIO16 and GPIO17 are not broken out to the ESP32-WROVER-B module and therefore not available for use. If you need to use these pins, please solder a module without SPIRAM memory inside, e.g. the ESP32-WROOM-32D or ESP32-SOLO-1.
|
|
|
+ 1. To prevent the power-on state of the GPIO0 from being affected by the clock output on the PHY side, the RESET_N signal to PHY defaults to low, turning the clock output off. After power-on you can control RESET_N with GPIO5 to turn the clock output on. See also `RMII Clock Sourced Externally by PHY`_. For PHYs that cannot turn off the clock output through RESET_N, it is recommended to use a crystal oscillator module that can be disabled / enabled externally. Similarly like when using RESET_N, the oscillator module should be disabled by default and turned on by ESP32 after power-up. For a reference design please see `ESP32-Ethernet-Kit V1.0 Ethernet board (A) schematic`_.
|
|
|
+
|
|
|
+ 2. The ESP32 pins GPIO16 and GPIO17 are not broken out to the ESP32-WROVER-B module and therefore not available for use. If you need to use these pins, please solder a module without PSRAM memory inside, e.g. the ESP32-WROOM-32D or ESP32-SOLO-1.
|
|
|
|
|
|
|
|
|
-.. _get-started-esp32-ethernet-kit-start-development:
|
|
|
-
|
|
|
Start Application Development
|
|
|
-----------------------------
|
|
|
|
|
|
@@ -338,10 +344,10 @@ Before powering up your ESP32-Ethernet-Kit, please make sure that the board is i
|
|
|
Initial Setup
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
-1. Set the **Function Switch** on the :ref:`Ethernet board (A) <get-started-esp32-ethernet-kit-a-v1.0-layout>` to its default position by turning all the switches to **ON**.
|
|
|
-2. To simplify flashing and testing the application, do not install any jumpers and do not connect any signals to the board headers.
|
|
|
-3. The :ref:`PoE board (B) <get-started-esp32-ethernet-kit-b-v1.0-layout>` can now be plugged in, but do not connect external power to it.
|
|
|
-4. Connect the :ref:`Ethernet board (A) <get-started-esp32-ethernet-kit-a-v1.0-layout>` to the PC with a USB cable.
|
|
|
+1. Set the **Function Switch** on the :ref:`Ethernet board (A) <get-started-esp32-ethernet-kit-a-v1.1-layout>` to its default position by turning all the switches to **ON**.
|
|
|
+2. To simplify flashing and testing the application do not connect any signals to the board headers.
|
|
|
+3. The `PoE board (B)`_ can now be plugged in, but do not connect external power to it.
|
|
|
+4. Connect the :ref:`Ethernet board (A) <get-started-esp32-ethernet-kit-a-v1.1-layout>` to the PC with a USB cable.
|
|
|
5. Turn the **Power Switch** from GND to 5V0 position, the **5V Power On LED** should light up.
|
|
|
|
|
|
|
|
|
@@ -356,18 +362,42 @@ Move on to the next section only if you have successfully completed all the abov
|
|
|
Configure and Load the Ethernet Example
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
-After setting up the development environment and testing the board, you can configure and flash the :example:`ethernet/ethernet` example. This example has been created for testing Ethernet functionality. It supports different PHY, including **IP101GRI** installed on :ref:`ESP32-Ethernet-Kit V1.0 board <get-started-esp32-ethernet-kit-b-v1.0>`.
|
|
|
+After setting up the development environment and testing the board, you can configure and flash the :example:`ethernet/ethernet` example. This example has been created for testing Ethernet functionality. It supports different PHY, including **IP101GRI** installed on :ref:`get-started-esp32-ethernet-kit-v1.1`.
|
|
|
+
|
|
|
+
|
|
|
+Summary of Changes from ESP32-Ethernet-Kit V1.0
|
|
|
+-----------------------------------------------
|
|
|
+
|
|
|
+* The original inverted clock provided to the PHY by ESP32 using GPIO0 has been replaced by a clock generated on PHY side. The PHY's clock is connected to the ESP32 with same GPIO0. The GPIO2 which was originally used to control the active crystal oscillator on the PHY side, can now be used for other purposes.
|
|
|
+* On power up, the ESP32 boot strapping pin GPIO0 may be affected by clock generated on the PHY side. To resolve this issue the PHY's Reset-N signal is pulled low using resistor R17 and effectively turning off the PHY's clock output. The Reset-N signal can be then pulled high by ESP32 using GPIO5.
|
|
|
+* Removed FT2232H chip's external SPI Flash U6.
|
|
|
+* Removed flow control jumper header J4.
|
|
|
+* Removed nTRST JTAG signal. The corresponding GPIO4 can now be used for other purposes.
|
|
|
+* Pull-up resistor R68 on the GPIO15 line is moved to the MTDO side of JTAG.
|
|
|
+* To make the A and B board connections more foolproof (reduce chances of plugging in the B board in reverse orientation), the original two 4-pin male rows on board A were changed to one 4-pin female row and one 4-pin male row. Corresponding male and female 4-pins rows were installed on board B.
|
|
|
+
|
|
|
+
|
|
|
+Other Versions of ESP32-Ethernet-Kit
|
|
|
+------------------------------------
|
|
|
+
|
|
|
+* :doc:`get-started-ethernet-kit-v1.0`
|
|
|
|
|
|
|
|
|
Related Documents
|
|
|
-----------------
|
|
|
|
|
|
-* `ESP32-Ethernet-Kit V1.0 Ethernet board (A) schematic`_ (PDF)
|
|
|
+* `ESP32-Ethernet-Kit V1.1 Ethernet board (A) schematic`_ (PDF)
|
|
|
* `ESP32-Ethernet-Kit V1.0 PoE board (B) schematic`_ (PDF)
|
|
|
* `ESP32 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf>`_ (PDF)
|
|
|
* `ESP32-WROVER-B Datasheet <https://espressif.com/sites/default/files/documentation/esp32-wrover-b_datasheet_en.pdf>`_ (PDF)
|
|
|
* :doc:`../api-guides/jtag-debugging/index`
|
|
|
* :doc:`../hw-reference/index`
|
|
|
|
|
|
-.. _ESP32-Ethernet-Kit V1.0 Ethernet board (A) schematic: https://dl.espressif.com/dl/schematics/SCH_ESP32-ETHERNET-KIT_A_V1.0_20190517.pdf
|
|
|
+.. _ESP32-Ethernet-Kit V1.1 Ethernet board (A) schematic: https://dl.espressif.com/dl/schematics/SCH_ESP32-ETHERNET-KIT_A_V1.1_20190711.pdf
|
|
|
.. _ESP32-Ethernet-Kit V1.0 PoE board (B) schematic: https://dl.espressif.com/dl/schematics/SCH_ESP32-ETHERNET-KIT_B_V1.0_20190517.pdf
|
|
|
+.. _ESP32-Ethernet-Kit V1.0 Ethernet board (A) schematic: https://dl.espressif.com/dl/schematics/SCH_ESP32-ETHERNET-KIT_A_V1.0_20190517.pdf
|
|
|
+
|
|
|
+.. toctree::
|
|
|
+ :hidden:
|
|
|
+
|
|
|
+ get-started-ethernet-kit-v1.0.rst
|