Board specific definitions for Espressif ESP-WROVER-KIT V3. More...
Board specific definitions for Espressif ESP-WROVER-KIT V3.
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
Furthermore, many GPIOs are broken out for extension. The USB bridge based on FDI FT2232HL provides a JTAG interface for debugging through the USB interface.
When the camera module is connected, add
to the makefile of the application to use the according default board configuration.
For detailed information about the configuration of ESP32 boards, see section Common Peripherals.
Definition in file board.h.
#include <stdint.h>
#include "board_common.h"
Go to the source code of this file.
Functions | |
static void | board_init (void) |
Initialize the board specific hardware. | |
LED (on-board) configuration | |
#define | LED0_PIN GPIO0 |
LED0 is available when the camera is not plugged in. | |
#define | LED0_ACTIVE (1) |
LED0 is high active. | |
#define | LED1_PIN GPIO2 |
LED1 is available when the SD-Card is not used. | |
#define | LED1_ACTIVE (1) |
LED1 is high active. | |
#define | LED2_PIN GPIO4 |
LED2 is available when the camera is not plugged in. | |
#define | LED2_ACTIVE (1) |
LED2 is high active. | |
#define | LED_RED_PIN LED0_PIN |
LED0 is a red LED. | |
#define | LED_GREEN_PIN LED1_PIN |
LED1 is a green LED. | |
#define | LED_BLUE_PIN LED2_PIN |
LED2 is a blue LED. | |
SD-Card interface configuration | |
The SD-Card interface is connected to the HSPI interface. Since HSPI becomes SPI_DEV(0) when the camera is connected, the SD card interface uses SPI_DEV(0) in this case. Otherwise, SPI_DEV(1) is used. This configuration cannot be changed. | |
#define | SDCARD_SPI_PARAM_SPI SPI_DEV(0) |
SPI_DEV(0) is used when camera is connected. | |
#define | SDCARD_SPI_PARAM_CLK SPI0_SCK |
HSPI SCK is used (fixed) | |
#define | SDCARD_SPI_PARAM_MOSI SPI0_MOSI |
HSPI MOSI is used (fixed) | |
#define | SDCARD_SPI_PARAM_MISO SPI0_MISO |
HSPI MISO is used (fixed) | |
#define | SDCARD_SPI_PARAM_CS SPI0_CS0 |
HSPI CS1 is used (fixed) | |
#define | SDCARD_SPI_PARAM_POWER GPIO_UNDEF |
power control is not used (fixed) | |
LCD configuration | |
#define | LCD_CS GPIO22 |
#define | LCD_RST GPIO18 |
#define | LCD_DC GPIO21 |
#define | LCD_BACKLIGHT GPIO5 |
#define | BACKLIGHT_ON gpio_clear(LCD_BACKLIGHT) |
#define | BACKLIGHT_OFF gpio_set(LCD_BACKLIGHT) |
#define | ILI9341_PARAM_SPI SPI_DEV(1) |
#define | ILI9341_PARAM_SPI_CLK SPI_CLK_10MHZ |
#define | ILI9341_PARAM_CS LCD_CS |
#define | ILI9341_PARAM_DCX LCD_DC |
#define | ILI9341_PARAM_RST LCD_RST |
#define | ILi9341_PARAM_RGB 0 |
#define | ILI9341_PARAM_INVERTED 0 |