mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/esp32-wrover-kit: Fix documentation format
Fix various issues with incompatibilities to flavor of markdown supported by Doxygen and re-format text.
This commit is contained in:
parent
8d1d00776c
commit
72cab30703
@ -12,171 +12,188 @@
|
||||
* @brief Support for for Espressif ESP-WROVER-KIT V3
|
||||
* @author Gunar Schorcht <gunar@schorcht.net>
|
||||
|
||||
## <a name="toc"> Table of Contents </a>
|
||||
\section esp32_wrover_kit ESP-WROVER-KIT V3
|
||||
|
||||
1. [Overview](#overview)
|
||||
2. [Hardware](#hardware)
|
||||
1. [MCU](#mcu)
|
||||
2. [Board Configuration](#board_configuration)
|
||||
3. [Board Pinout](#pinout)
|
||||
4. [Optional Hardware Configurations](#optional_hardware)
|
||||
3. [Flashing the Device](#flashing)
|
||||
4. [On-Chip Debugging with the device](#debugging)
|
||||
5. [Other Documentation Resources](#other-resources)
|
||||
## Table of Contents {#esp32_wrover_kit_toc}
|
||||
|
||||
## <a name="overview"> Overview </a> [[TOC](#toc)]
|
||||
1. [Overview](#esp32_wrover_kit_overview)
|
||||
2. [Hardware](#esp32_wrover_kit_hardware)
|
||||
1. [MCU](#esp32_wrover_kit_mcu)
|
||||
2. [Board Configuration](#esp32_wrover_kit_board_configuration)
|
||||
3. [Board Pinout](#esp32_wrover_kit_pinout)
|
||||
4. [Optional Hardware Configurations](#esp32_wrover_kit_optional_hardware)
|
||||
3. [Flashing the Device](#esp32_wrover_kit_flashing)
|
||||
4. [On-Chip Debugging with the device](#esp32_wrover_kit_debugging)
|
||||
5. [Other Documentation Resources](#esp32_wrover_kit_other-resources)
|
||||
|
||||
The Espressif ESP-WROVER-KIT is a development board that uses the ESP32-WROVER module which includes a built-in 4 MByte SPI RAM. Most important features of the board are
|
||||
## Overview {#esp32_wrover_kit_overview}
|
||||
|
||||
The Espressif ESP-WROVER-KIT is a development board that uses the ESP32-WROVER
|
||||
module which includes a built-in 4 MByte SPI RAM. Most important features of
|
||||
the board are
|
||||
|
||||
- Micro-SD card interface
|
||||
- OV7670 camera interface
|
||||
- 3.2" SPI LCD panel
|
||||
- 3.2\" SPI LCD panel
|
||||
- RGB LED
|
||||
- USB bridge with JTAG interface
|
||||
- external 32.768 kHz crystal for RTC
|
||||
|
||||
Furthermore, many GPIOs are broken out for extension. The USB bridge based on FDI FT2232HL provides a JTAG interface for OCD debugging through the USB interface.
|
||||
Furthermore, many GPIOs are broken out for extension. The USB bridge based on
|
||||
FDI FT2232HL provides a JTAG interface for OCD debugging through the USB
|
||||
interface.
|
||||
|
||||
\htmlonly<style>div.image img[src="https://dl.espressif.com/dl/schematics/pictures/esp-wrover-kit-v3.jpg"]{width:600px;}</style>\endhtmlonly@image html "https://dl.espressif.com/dl/schematics/pictures/esp-wrover-kit-v3.jpg" "ESP-WROVER-KIT V3"
|
||||
@image html "https://dl.espressif.com/dl/schematics/pictures/esp-wrover-kit-v3.jpg" "ESP-WROVER-KIT V3"
|
||||
|
||||
## <a name="hardware"> Hardware </a> [[TOC](#toc)]
|
||||
## Hardware {#esp32_wrover_kit_hardware}
|
||||
|
||||
This section describes
|
||||
|
||||
- the [MCU](#mcu),
|
||||
- the default [board configuration](#board_configuration),
|
||||
- [optional hardware configurations](#optional_hardware),
|
||||
- the [board pinout](#pinout).
|
||||
- the [MCU](#esp32_wrover_kit_mcu),
|
||||
- the default [board configuration](#esp32_wrover_kit_board_configuration),
|
||||
- [optional hardware configurations](#esp32_wrover_kit_optional_hardware),
|
||||
- the [board pinout](#esp32_wrover_kit_pinout).
|
||||
|
||||
### <a name="mcu"> MCU </a> [[TOC](#toc)]
|
||||
### MCU {#esp32_wrover_kit_mcu}
|
||||
|
||||
Most features of the board are provided by the ESP32 SoC. For detailed
|
||||
information about the ESP32, see section \ref esp32_mcu "MCU ESP32".
|
||||
information about the ESP32, see section \ref esp32_mcu_esp32 "MCU ESP32".
|
||||
|
||||
### <a name="board_configuration"> Board Configuration </a> [[TOC](#toc)]
|
||||
### Board Configuration {#esp32_wrover_kit_board_configuration}
|
||||
|
||||
ESP-WROVER-KIT has the following on-board components
|
||||
|
||||
- Micro-SD card interface
|
||||
- OV7670 camera interface
|
||||
- 3.2" SPI LCD panel
|
||||
- 3.2\" SPI LCD panel
|
||||
- RGB LED
|
||||
- USB bridge with JTAG interface
|
||||
- external 32.768 kHz crystal for RTC
|
||||
|
||||
The following table shows the default board configuration sorted according to the defined functionality of GPIOs for different hardware options. This configuration can be overridden by \ref esp32_app_spec_conf "application-specific configurations".
|
||||
The following table shows the default board configuration sorted according to
|
||||
the defined functionality of GPIOs for different hardware options. This
|
||||
configuration can be overridden by \ref esp32_application_specific_configurations .
|
||||
|
||||
These abbreviations are used in subsequent tables:
|
||||
|
||||
<b>SDC</b> = SD-Card interface is used (module **sdcard_spi** is enabled)<br>
|
||||
<b>CAM</b> = Camera is plugged in/used
|
||||
*SDC* = SD-Card interface is used (module **sdcard_spi** is enabled)<br>
|
||||
*CAM* = Camera is plugged in/used
|
||||
|
||||
<center>
|
||||
\anchor esp32_wrover_kit_table_board_configuration
|
||||
|
||||
Function | None | SDC | CAM | SDC+CAM | Remarks | Configuration
|
||||
:-------------------|--------|--------|--------|---------|:---------|----------
|
||||
ADC_LINE(0) | GPIO34 | GPIO34 | - | - | CAMERA_D6 | \ref esp32_adc_channels "ADC Channels"
|
||||
ADC_LINE(1) | GPIO35 | GPIO35 | - | - | CAMERA_D7 | \ref esp32_adc_channels "ADC Channels"
|
||||
ADC_LINE(2) | GPIO36 | GPIO36 | - | - | CAMERA_D4 | \ref esp32_adc_channels "ADC Channels"
|
||||
ADC_LINE(3) | GPIO39 | GPIO39 | - | - | CAMERA_D5 | \ref esp32_adc_channels "ADC Channels"
|
||||
PWM_DEV(0):0 / LED0 | GPIO0 | GPIO0 | - | - | LED_RED / CAMERA_RESET | \ref esp32_pwm_channels "PWM Channels"
|
||||
PWM_DEV(0):2 / LED2 | GPIO4 | GPIO4 | - | - | LED_BLUE / CAMERA_D0 | \ref esp32_pwm_channels "PWM Channels"
|
||||
LED1 | GPIO2 | GPIO2 | GPIO2 | GPIO2 | LED_GREEN | |
|
||||
I2C_DEV(0):SCL | GPIO27 | GPIO27 | GPIO27 | GPIO27 | CAMERA_SIO_C | \ref esp32_i2c_interfaces "I2C Interfaces"
|
||||
I2C_DEV(0):SDA | GPIO26 | GPIO26 | GPIO26 | GPIO27 | CAMERA_SIO_D | \ref esp32_i2c_interfaces "I2C Interfaces"
|
||||
UART_DEV(0):TX | GPIO1 | GPIO1 | GPIO1 | GPIO1 | | \ref esp32_uart_interfaces "UART interfaces"
|
||||
UART_DEV(0):RX | GPIO3 | GPIO3 | GPIO3 | GPIO3 | | \ref esp32_uart_interfaces "UART interfaces"
|
||||
SPI_DEV(0):SCK | GPIO14 | GPIO14 | GPIO14 | GPIO14 | HSPI: SD-Card / Peripherals | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(0):MOSI | GPIO15 | GPIO15 | GPIO15 | GPIO15 | HSPI: SD-Card / Peripherals | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(0):MISO | GPIO2 | GPIO2 | GPIO2 | GPIO2 | HSPI: SD-Card / Peripherals | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(0):CS0 | GPIO13 | GPIO13 | GPIO13 | GPIO13 | HSPI: SD-Card CS | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(1)/LCD:SCK | GPIO19 | GPIO19 | - | - | VSPI: LCD / CAMERA_D3 | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(1)/LCD:MOSI | GPIO23 | GPIO23 | - | - | VSPI: LCD / CAMERA_HREF | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(1)/LCD:MISO | GPIO25 | GPIO25 | - | - | VSPI: LCD / CAMERA_VSYNC | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
SPI_DEV(1)/LCD:CS0 | GPIO22 | GPIO22 | - | - | VSPI: LCD / CAMERA_PCLK | \ref esp32_spi_interfaces "SPI Interfaces"
|
||||
LCD_LED | GPIO5 | GPIO5 | - | - | CAMERA_D1 | |
|
||||
LCD_SCL | GPIO19 | GPIO19 | - | - | CAMERA_D3 | |
|
||||
LCD_MOSI | GPIO23 | GPIO23 | - | - | CAMERA_HREF | |
|
||||
LCD_MISO | GPIO25 | GPIO25 | - | - | CAMERA_VSYNC | |
|
||||
LCD_CS | GPIO22 | GPIO22 | - | - | CAMERA_PCLK | |
|
||||
LCD_D/C | GPIO21 | GPIO21 | - | - | CAMERA_XCLK | |
|
||||
LCD_RESET | GPIO18 | GPIO18 | - | - | CAMERA_D2 | |
|
||||
CAMERA_D0 | - | - | GPIO4 | GPIO4 | | |
|
||||
CAMERA_D1 | - | - | GPIO5 | GPIO5 | | |
|
||||
CAMERA_D2 | - | - | GPIO18 | GPIO18 | | |
|
||||
CAMERA_D3 | - | - | GPIO19 | GPIO19 | | |
|
||||
CAMERA_D4 | - | - | GPIO36 | GPIO36 | | |
|
||||
CAMERA_D5 | - | - | GPIO39 | GPIO39 | | |
|
||||
CAMERA_D6 | - | - | GPIO34 | GPIO34 | | |
|
||||
CAMERA_D7 | - | - | GPIO35 | GPIO35 | | |
|
||||
CAMERA_XCLK | - | - | GPIO21 | GPIO21 | | |
|
||||
CAMERA_PCLK | - | - | GPIO22 | GPIO22 | | |
|
||||
CAMERA_HREF | - | - | GPIO23 | GPIO23 | | |
|
||||
CAMERA_VSYNC | - | - | GPIO25 | GPIO25 | | |
|
||||
CAMERA_SIO_D | - | - | GPIO26 | GPIO26 | | |
|
||||
CAMERA_SIO_C | - | - | GPIO27 | GPIO27 | | |
|
||||
CAMERA_RESET | - | - | GPIO0 | GPIO0 | | |
|
||||
|
||||
</center>
|
||||
| Function | None | SDC | CAM | SDC + CAM | Remarks | Configuration |
|
||||
|:----------------------|-----------|-----------|-----------|-----------|:------------------------------|-------------------------------|
|
||||
| `ADC_LINE(0)` | `GPIO34` | `GPIO34` | - | - | `CAMERA_D6` | \ref esp32_adc_channels |
|
||||
| `ADC_LINE(1)` | `GPIO35` | `GPIO35` | - | - | `CAMERA_D7` | \ref esp32_adc_channels |
|
||||
| `ADC_LINE(2)` | `GPIO36` | `GPIO36` | - | - | `CAMERA_D4` | \ref esp32_adc_channels |
|
||||
| `ADC_LINE(3)` | `GPIO39` | `GPIO39` | - | - | `CAMERA_D5` | \ref esp32_adc_channels |
|
||||
| `PWM_DEV(0):0 / LED0` | `GPIO0` | `GPIO0` | - | - | `LED_RED` / `CAMERA_RESET` | \ref esp32_pwm_channels |
|
||||
| `PWM_DEV(0):2 / LED2` | `GPIO4` | `GPIO4` | - | - | `LED_BLUE` / `CAMERA_D0` | \ref esp32_pwm_channels |
|
||||
| `LED1` | `GPIO2` | `GPIO2` | `GPIO2` | `GPIO2` | `LED_GREEN` | |
|
||||
| `I2C_DEV(0):SCL` | `GPIO27` | `GPIO27` | `GPIO27` | `GPIO27` | `CAMERA_SIO_C` | \ref esp32_i2c_interfaces |
|
||||
| `I2C_DEV(0):SDA` | `GPIO26` | `GPIO26` | `GPIO26` | `GPIO27` | `CAMERA_SIO_D` | \ref esp32_i2c_interfaces |
|
||||
| `UART_DEV(0):TX` | `GPIO1` | `GPIO1` | `GPIO1` | `GPIO1` | | \ref esp32_uart_interfaces |
|
||||
| `UART_DEV(0):RX` | `GPIO3` | `GPIO3` | `GPIO3` | `GPIO3` | | \ref esp32_uart_interfaces |
|
||||
| `SPI_DEV(0):SCK` | `GPIO14` | `GPIO14` | `GPIO14` | `GPIO14` | HSPI: SD-Card / Peripherals | \ref esp32_spi_interfaces |
|
||||
| `SPI_DEV(0):MOSI` | `GPIO15` | `GPIO15` | `GPIO15` | `GPIO15` | HSPI: SD-Card / Peripherals | \ref esp32_spi_interfaces |
|
||||
| `SPI_DEV(0):CS0` | `GPIO13` | `GPIO13` | `GPIO13` | `GPIO13` | HSPI: SD-Card CS | \ref esp32_spi_interfaces |
|
||||
| `SPI_DEV(1)/LCD:SCK` | `GPIO19` | `GPIO19` | - | - | VSPI: LCD / `CAMERA_D3` | \ref esp32_spi_interfaces |
|
||||
| `SPI_DEV(1)/LCD:MOSI` | `GPIO23` | `GPIO23` | - | - | VSPI: LCD / `CAMERA_HREF` | \ref esp32_spi_interfaces |
|
||||
| `SPI_DEV(1)/LCD:MISO` | `GPIO25` | `GPIO25` | - | - | VSPI: LCD / `CAMERA_VSYNC` | \ref esp32_spi_interfaces |
|
||||
| `SPI_DEV(1)/LCD:CS0` | `GPIO22` | `GPIO22` | - | - | VSPI: LCD / `CAMERA_PCLK` | \ref esp32_spi_interfaces |
|
||||
| `LCD_LED` | `GPIO5` | `GPIO5` | - | - | `CAMERA_D1` | |
|
||||
| `LCD_SCL` | `GPIO19` | `GPIO19` | - | - | `CAMERA_D3` | |
|
||||
| `LCD_MOSI` | `GPIO23` | `GPIO23` | - | - | `CAMERA_HREF` | |
|
||||
| `LCD_MISO` | `GPIO25` | `GPIO25` | - | - | `CAMERA_VSYNC` | |
|
||||
| `LCD_CS` | `GPIO22` | `GPIO22` | - | - | `CAMERA_PCLK` | |
|
||||
| `LCD_D/C` | `GPIO21` | `GPIO21` | - | - | `CAMERA_XCLK` | |
|
||||
| `LCD_RESET` | `GPIO18` | `GPIO18` | - | - | `CAMERA_D2` | |
|
||||
| `CAMERA_D0` | - | - | `GPIO4` | `GPIO4` | | |
|
||||
| `CAMERA_D1` | - | - | `GPIO5` | `GPIO5` | | |
|
||||
| `CAMERA_D2` | - | - | `GPIO18` | `GPIO18` | | |
|
||||
| `CAMERA_D3` | - | - | `GPIO19` | `GPIO19` | | |
|
||||
| `CAMERA_D4` | - | - | `GPIO36` | `GPIO36` | | |
|
||||
| `CAMERA_D5` | - | - | `GPIO39` | `GPIO39` | | |
|
||||
| `CAMERA_D6` | - | - | `GPIO34` | `GPIO34` | | |
|
||||
| `CAMERA_D7` | - | - | `GPIO35` | `GPIO35` | | |
|
||||
| `CAMERA_XCLK` | - | - | `GPIO21` | `GPIO21` | | |
|
||||
| `CAMERA_PCLK` | - | - | `GPIO22` | `GPIO22` | | |
|
||||
| `CAMERA_HREF` | - | - | `GPIO23` | `GPIO23` | | |
|
||||
| `CAMERA_VSYNC` | - | - | `GPIO25` | `GPIO25` | | |
|
||||
| `CAMERA_SIO_D` | - | - | `GPIO26` | `GPIO26` | | |
|
||||
| `CAMERA_SIO_C` | - | - | `GPIO27` | `GPIO27` | | |
|
||||
| `CAMERA_RESET` | - | - | `GPIO0` | `GPIO0` | | |
|
||||
|
||||
Following table shows the default board configuration sorted by GPIOs.
|
||||
|
||||
<center>
|
||||
Pin | None | SDC | CAM | SDC+CAM | Remarks
|
||||
:------|:-----------------------|:--------------------|:--------------------|:---------------------------|:-----
|
||||
GPIO0 | PWM_DEV(0):0 / LED0 | PWM_DEV(0):0 / LED0 | CAMERA_RESET | CAMERA_RESET | |
|
||||
GPIO1 | UART_DEV(0):TX | UART_DEV(0):TX | UART_DEV(0):TX | UART_DEV(0):TX | |
|
||||
GPIO2 | SPI_DEV(0):MISO / LED1 | SPI_DEV(0):MISO | SPI_DEV(0):MISO | SPI_DEV(0):MISO | HSPI
|
||||
GPIO3 | UART_DEV(0):RX | UART_DEV(0):RX | UART_DEV(0):RX | UART_DEV(0):RX | |
|
||||
GPIO4 | PWM_DEV(0):1 / LED2 | PWM_DEV(0):1 / LED2 | CAMERA_D0 | CAMERA_D0 | |
|
||||
GPIO5 | LCD LED | LCD_LED | CAMERA_D1 | CAMERA_D1 | |
|
||||
GPIO6 | Flash CLK | Flash CLK | Flash CLK | Flash CLK | |
|
||||
GPIO7 | Flash SD0 | Flash SD0 | Flash SD0 | Flash SD0 | |
|
||||
GPIO8 | Flash SD1 | Flash SD1 | Flash SD1 | Flash SD1 | |
|
||||
GPIO9 | | | | | |
|
||||
GPIO10 | | | | | |
|
||||
GPIO11 | Flash CMD | Flash CMD | Flash CMD | Flash CMD | |
|
||||
GPIO12 | | | | | |
|
||||
GPIO13 | SPI_DEV(0):CS0 | SPI_DEV(0):CS0 | SPI_DEV(0):CS0 | SPI_DEV(0):CS0 | HSPI / SD-Card CS
|
||||
GPIO14 | SPI_DEV(0):SCK | SPI_DEV(0):SCK | SPI_DEV(0):SCK | SPI_DEV(0):SCK | HSPI
|
||||
GPIO15 | SPI_DEV(0):MOSI | SPI_DEV(0):MOSI | SPI_DEV(0):MOSI | SPI_DEV(0):MOSI | HSPI
|
||||
GPIO16 | N/A | N/A | N/A | N/A | see below
|
||||
GPIO17 | N/A | N/A | N/A | N/A | see below
|
||||
GPIO18 | LCD_RESET | LCD_RESET | LCD_RESET | CAMERA_D2 | |
|
||||
GPIO19 | SPI_DEV(1)/LCD:SCK | SPI_DEV(1)/LCD:SCK | SPI_DEV(1)/LCD:SCK | CAMERA_D3 | VSPI
|
||||
GPIO21 | LCD_D/C | LCD_D/C | LCD_D/C | CAMERA_XCLK | |
|
||||
GPIO22 | SPI_DEV(1)/LCD:CS | SPI_DEV(1)/LCD:CS0 | SPI_DEV(1)/LCD:CS0 | CAMERA_PCLK | VSPI
|
||||
GPIO23 | SPI_DEV(1)/LCD:MOSI | SPI_DEV(1)/LCD:MOSI | SPI_DEV(1)/LCD:MOSI | CAMERA_HREF | VSPI
|
||||
GPIO25 | SPI_DEV(1)/LCD:MISO | SPI_DEV(1)/LCD:MISO | SPI_DEV(1)/LCD:MISO | CAMERA_VSYNC | VSPI
|
||||
GPIO26 | I2C_DEV(0):SDA | I2C_DEV(0):SDA | I2C_DEV(0):SDA | I2C_DEV(0)/CAMERASIO_D:SDA | |
|
||||
GPIO27 | I2C_DEV(0):SCL | I2C_DEV(0):SCL | I2C_DEV(0):SCL | I2C_DEV(0)/CAMERASIO_C:SCL | |
|
||||
GPIO32 | N/A | N/A | N/A | N/A | see below
|
||||
GPIO33 | N/A | N/A | N/A | N/A | see below
|
||||
GPIO34 | ADC_LINE(0) | ADC_LINE(0) | ADC_LINE(0) | CAMERA_D6 | |
|
||||
GPIO35 | ADC_LINE(1) | ADC_LINE(1) | ADC_LINE(1) | CAMERA_D7 | |
|
||||
GPIO36 | ADC_LINE(2) | ADC_LINE(2) | ADC_LINE(2) | CAMERA_D4 | |
|
||||
GPIO39 | ADC_LINE(3) | ADC_LINE(3) | ADC_LINE(3) | CAMERA_D5 | |
|
||||
</center>
|
||||
| Pin | None | SDC | CAM | SDC+CAM | Remarks |
|
||||
|:-------|:-----------------------|:--------------------|:--------------------|:---------------------------|:-----|
|
||||
| GPIO0 | PWM_DEV(0):0 / LED0 | PWM_DEV(0):0 / LED0 | CAMERA_RESET | CAMERA_RESET | |
|
||||
| GPIO1 | UART_DEV(0):TX | UART_DEV(0):TX | UART_DEV(0):TX | UART_DEV(0):TX | |
|
||||
| GPIO2 | SPI_DEV(0):MISO / LED1 | SPI_DEV(0):MISO | SPI_DEV(0):MISO | SPI_DEV(0):MISO | HSPI |
|
||||
| GPIO3 | UART_DEV(0):RX | UART_DEV(0):RX | UART_DEV(0):RX | UART_DEV(0):RX | |
|
||||
| GPIO4 | PWM_DEV(0):1 / LED2 | PWM_DEV(0):1 / LED2 | CAMERA_D0 | CAMERA_D0 | |
|
||||
| GPIO5 | LCD LED | LCD_LED | CAMERA_D1 | CAMERA_D1 | |
|
||||
| GPIO6 | Flash CLK | Flash CLK | Flash CLK | Flash CLK | |
|
||||
| GPIO7 | Flash SD0 | Flash SD0 | Flash SD0 | Flash SD0 | |
|
||||
| GPIO8 | Flash SD1 | Flash SD1 | Flash SD1 | Flash SD1 | |
|
||||
| GPIO9 | | | | | |
|
||||
| GPIO10 | | | | | |
|
||||
| GPIO11 | Flash CMD | Flash CMD | Flash CMD | Flash CMD | |
|
||||
| GPIO12 | | | | | |
|
||||
| GPIO13 | SPI_DEV(0):CS0 | SPI_DEV(0):CS0 | SPI_DEV(0):CS0 | SPI_DEV(0):CS0 | HSPI / SD-Card CS |
|
||||
| GPIO14 | SPI_DEV(0):SCK | SPI_DEV(0):SCK | SPI_DEV(0):SCK | SPI_DEV(0):SCK | HSPI |
|
||||
| GPIO15 | SPI_DEV(0):MOSI | SPI_DEV(0):MOSI | SPI_DEV(0):MOSI | SPI_DEV(0):MOSI | HSPI |
|
||||
| GPIO16 | N/A | N/A | N/A | N/A | see below |
|
||||
| GPIO17 | N/A | N/A | N/A | N/A | see below |
|
||||
| GPIO18 | LCD_RESET | LCD_RESET | LCD_RESET | CAMERA_D2 | |
|
||||
| GPIO19 | SPI_DEV(1)/LCD:SCK | SPI_DEV(1)/LCD:SCK | SPI_DEV(1)/LCD:SCK | CAMERA_D3 | VSPI |
|
||||
| GPIO21 | LCD_D/C | LCD_D/C | LCD_D/C | CAMERA_XCLK | |
|
||||
| GPIO22 | SPI_DEV(1)/LCD:CS | SPI_DEV(1)/LCD:CS0 | SPI_DEV(1)/LCD:CS0 | CAMERA_PCLK | VSPI |
|
||||
| GPIO23 | SPI_DEV(1)/LCD:MOSI | SPI_DEV(1)/LCD:MOSI | SPI_DEV(1)/LCD:MOSI | CAMERA_HREF | VSPI |
|
||||
| GPIO25 | SPI_DEV(1)/LCD:MISO | SPI_DEV(1)/LCD:MISO | SPI_DEV(1)/LCD:MISO | CAMERA_VSYNC | VSPI |
|
||||
| GPIO26 | I2C_DEV(0):SDA | I2C_DEV(0):SDA | I2C_DEV(0):SDA | I2C_DEV(0)/CAMERASIO_D:SDA | |
|
||||
| GPIO27 | I2C_DEV(0):SCL | I2C_DEV(0):SCL | I2C_DEV(0):SCL | I2C_DEV(0)/CAMERASIO_C:SCL | |
|
||||
| GPIO32 | N/A | N/A | N/A | N/A | see below |
|
||||
| GPIO33 | N/A | N/A | N/A | N/A | see below |
|
||||
| GPIO34 | ADC_LINE(0) | ADC_LINE(0) | ADC_LINE(0) | CAMERA_D6 | |
|
||||
| GPIO35 | ADC_LINE(1) | ADC_LINE(1) | ADC_LINE(1) | CAMERA_D7 | |
|
||||
| GPIO36 | ADC_LINE(2) | ADC_LINE(2) | ADC_LINE(2) | CAMERA_D4 | |
|
||||
| GPIO39 | ADC_LINE(3) | ADC_LINE(3) | ADC_LINE(3) | CAMERA_D5 | |
|
||||
|
||||
@note
|
||||
- SPI_DEV(0) uses the HSPI interface with the GPIO2 pin as the MISO signal. Since GPIO2 has bootstrapping functionality, it might be necessary to to press the **Boot** button for flashing RIOT when the SD card or the peripheral hardware is attached to this SPI interface.
|
||||
- GPIO0 cannot be used as SPI CS signal for external hardware connected to SPI_DEV(0). The reason for this is that the LEDs on this board are high-active and the default state of the LEDs after power-up causes a low level on the corresponding GPIO outputs.
|
||||
- GPIO2 cannot be used as PWM_DEV(0) channel 1 / LED0 when SPI_DEV(0) is used in any way. Reason is that GPIO2 is the MISO signal when SPI_DEV(0) is used and is therefore an input. PWM channels are outputs.
|
||||
- It might be necessary to remove the SD card or the peripheral hardware attached to the SPI_DEV(0) interface for flashing RIOT. Reason is that the **SPI_DEV(0)** interface uses the HSPI interface with the GPIO2 pin as the MISO signal, which has bootstrapping functionality.
|
||||
- GPIO16 and GPIO17 are used for the built-in SPI RAM and are not available on the I/O expansion connector, even though they are labeled there.
|
||||
- GPIO32 and GPIO33 are attached to a 32 kHz crystal by default. To make them available as a GPIO on the I/O expansion connector, SMD resistors would need to be removed and soldered. Module `esp_rtc_timer_32k` is enabled by default.
|
||||
- SPI_DEV(0) uses the HSPI interface with the GPIO2 pin as the MISO signal.
|
||||
Since GPIO2 has bootstrapping functionality, it might be necessary to to
|
||||
press the **Boot** button for flashing RIOT when the SD card or the
|
||||
peripheral hardware is attached to this SPI interface.
|
||||
- GPIO0 cannot be used as SPI CS signal for external hardware connected to
|
||||
SPI_DEV(0). The reason for this is that the LEDs on this board are
|
||||
high-active and the default state of the LEDs after power-up causes a low
|
||||
level on the corresponding GPIO outputs.
|
||||
- GPIO2 cannot be used as PWM_DEV(0) channel 1 / LED0 when SPI_DEV(0) is used
|
||||
in any way. Reason is that GPIO2 is the MISO signal when SPI_DEV(0) is used
|
||||
and is therefore an input. PWM channels are outputs.
|
||||
- It might be necessary to remove the SD card or the peripheral hardware
|
||||
attached to the SPI_DEV(0) interface for flashing RIOT. Reason is that the
|
||||
**SPI_DEV(0)** interface uses the HSPI interface with the GPIO2 pin as the
|
||||
MISO signal, which has bootstrapping functionality.
|
||||
- GPIO16 and GPIO17 are used for the built-in SPI RAM and are not available on
|
||||
the I/O expansion connector, even though they are labeled there.
|
||||
- GPIO32 and GPIO33 are attached to a 32 kHz crystal by default. To make them
|
||||
available as a GPIO on the I/O expansion connector, SMD resistors would need
|
||||
to be removed and soldered. Module `esp_rtc_timer_32k` is enabled by default.
|
||||
|
||||
For detailed information about the configuration of ESP32 boards, see
|
||||
section Peripherals in \ref esp32_riot.
|
||||
|
||||
https://docs.espressif.com/projects/esp-idf/en/latest/get-started/get-started-wrover-kit.html
|
||||
|
||||
### <a name="optional_hardware"> Optional Hardware Configurations </a> [[TOC](#toc)]
|
||||
### Optional Hardware Configurations {#esp32_wrover_kit_optional_hardware}
|
||||
|
||||
MRF24J40-based IEEE 802.15.4 radio modules and ENC28J60-based Ethernet network interface modules have been tested with the board. You could use the following code in your \ref esp32_app_spec_conf "application-specific configuration" to use such modules:
|
||||
MRF24J40-based IEEE 802.15.4 radio modules and ENC28J60-based Ethernet network
|
||||
interface modules have been tested with the board. You could use the following
|
||||
code in your \ref esp32_application_specific_configurations
|
||||
"application-specific configuration" to use such modules:
|
||||
|
||||
```
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.c}
|
||||
#ifdef BOARD_ESP32_WROVER_KIT
|
||||
|
||||
#if MODULE_MRF24J40
|
||||
@ -192,47 +209,67 @@ MRF24J40-based IEEE 802.15.4 radio modules and ENC28J60-based Ethernet network i
|
||||
#endif
|
||||
|
||||
#endif
|
||||
```
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
For other parameters, the default values defined by the drivers can be used.
|
||||
|
||||
@note
|
||||
- Only a few GPIOs are available for external hardware on ESP-WROVER-KIT boards. Therefore, MRF24J40 and ENC28J60 based modules use the same GPIOs and only one of these modules can be used simultaneously.
|
||||
- The **RESET** signal of MRF24J40 and ENC28J60 based modules can also be connected to the **RST** pin of the board (see \ref esp32_wrover_kit_pinout "pinout") to keep the configured GPIO free for other purposes.
|
||||
- Only a few GPIOs are available for external hardware on ESP-WROVER-KIT
|
||||
boards. Therefore, MRF24J40 and ENC28J60 based modules use the same GPIOs and
|
||||
only one of these modules can be used simultaneously.
|
||||
- The **RESET** signal of MRF24J40 and ENC28J60 based modules can also be
|
||||
connected to the **RST** pin of the board (see \ref esp32_wrover_kit_pinout
|
||||
"pinout") to keep the configured GPIO free for other purposes.
|
||||
|
||||
### <a name="pinout"> Board Pinout </a> [[TOC](#toc)]
|
||||
### Board Pinout {#esp32_wrover_kit_pinout}
|
||||
|
||||
The following picture shows the pinout of the ESP-WROVER-KIT V3 boards as defined by the default board configuration. The light green GPIOs are not used by configured on-board hardware components and can be used for any purpose. However, if optional off-board hardware modules are used, these GPIOs may also be occupied, see \ref esp32_wrover_kit_table_board_configuration "optional functions" in table board configuration.
|
||||
The following picture shows the pinout of the ESP-WROVER-KIT V3 boards as
|
||||
defined by the default board configuration. The light green GPIOs are not used
|
||||
by configured on-board hardware components and can be used for any purpose.
|
||||
However, if optional off-board hardware modules are used, these GPIOs may also
|
||||
be occupied, see \ref esp32_wrover_kit_board_configuration in table board configuration.
|
||||
|
||||
The corresponding board schematic can be found [here](https://dl.espressif.com/dl/schematics/ESP-WROVER-KIT_SCH-3.pdf).
|
||||
|
||||
\anchor esp32_wrover_kit_pinout
|
||||
The corresponding board schematic can be found
|
||||
[here](https://dl.espressif.com/dl/schematics/ESP-WROVER-KIT_SCH-3.pdf).
|
||||
|
||||
@image html "https://gitlab.com/gschorcht/RIOT.wiki-Images/raw/master/esp32/ESP-WROVER-KIT_V3_pinout.png?inline=false" "ESP32-WROVER-KIT V3 Pinout"
|
||||
|
||||
## <a name="flashing"> Flashing the Device </a> [[TOC](#toc)]
|
||||
## Flashing the Device {#esp32_wrover_kit_flashing}
|
||||
|
||||
Flashing RIOT is quite straight forward. The board has a Micro-USB connector with reset/boot/flash logic. Just connect the board using the programming port to your host computer and type:
|
||||
```
|
||||
Flashing RIOT is quite straight forward. The board has a Micro-USB connector
|
||||
with reset/boot/flash logic. Just connect the board using the programming port
|
||||
to your host computer and type:
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
make flash BOARD=esp32-wrover-kit ...
|
||||
```
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The USB bridge is based on FDI FT2232HL and offers two USB interfaces:
|
||||
|
||||
- the first interface is the JTAG interface for [On-Chip debugging](#debugging)
|
||||
- the first interface is the JTAG interface for [On-Chip debugging](#esp32_wrover_kit_debugging)
|
||||
- the second interface is the console interface, which is also used for flashing
|
||||
|
||||
Therefore, you have to declare the USB interface in the make command. For example, if the ESP32-WROVER-KIT is connected to the host computer through the USB interfaces `/dev/ttyUSB0` and `/dev/ttyUSB1`, the make command would be used as following:
|
||||
```
|
||||
Therefore, you have to declare the USB interface in the make command. For
|
||||
example, if the ESP32-WROVER-KIT is connected to the host computer through the
|
||||
USB interfaces `/dev/ttyUSB0` and `/dev/ttyUSB1`, the make command would be
|
||||
used as following:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
make flash BOARD=esp32-wrover-kit PORT=/dev/ttyUSB1 ...
|
||||
```
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
For detailed information about ESP32 as well as configuring and compiling RIOT for ESP32 boards, see \ref esp32_riot.
|
||||
For detailed information about ESP32 as well as configuring and compiling RIOT
|
||||
for ESP32 boards, see \ref esp32_riot.
|
||||
|
||||
## <a name="debugging"> On-Chip Debugging with the Device </a> [[TOC](#toc)]
|
||||
## On-Chip Debugging with the Device {#esp32_wrover_kit_debugging}
|
||||
|
||||
Since the USB bridge based on FDI FT2232HL provides a JTAG interface for debugging through an USB interface, using ESP-ROVER-KIT is the easiest and most convenient way for On-Chip debugging. Please refer the [ESP-IDF Programming Guide](https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/index.html) for details on how to setup and how to use ESP-WROVER-KIT and OpenOCD.
|
||||
Since the USB bridge based on FDI FT2232HL provides a JTAG interface for
|
||||
debugging through an USB interface, using ESP-ROVER-KIT is the easiest and most
|
||||
convenient way for On-Chip debugging. Please refer the
|
||||
[ESP-IDF Programming Guide](https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/index.html)
|
||||
for details on how to setup and how to use ESP-WROVER-KIT and OpenOCD.
|
||||
|
||||
## <a name="other-resources"> Other Documentation Resources </a> [[TOC](#toc)]
|
||||
## Other Documentation Resources {#esp32_wrover_kit_other-resources}
|
||||
|
||||
There is a comprehensive [Getting Started Guide](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/get-started-wrover-kit-v3.html) for the ESP-WROVER-KIT with a lot information about hardware configuration.
|
||||
There is a comprehensive
|
||||
[Getting Started Guide](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/get-started-wrover-kit-v3.html)
|
||||
for the ESP-WROVER-KIT with a lot information about hardware configuration.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user