boards/esp32-wrover-kit/include/periph_conf.h¶
Peripheral MCU configuration 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
- Micro-SD card interface
- OV7670 camera interface
- 3.2” SPI LCD panel
- RGB LED
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
1 | USEMODULE += esp32_wrover_kit_camera
|
For detailed information about the configuration of ESP32 boards, see section .
-
ADC_GPIOS¶ Declaration of GPIOs that can be used as ADC channels.
1
{ GPIO34, GPIO35, GPIO36, GPIO39 }
When the camera is connected there are no GPIOs left that could be used as ADC channels.
Note
As long as the GPIOs listed in ADC_GPIOS are not initialized as ADC channels with the
adc_initfunction, they can be used for other purposes.
-
DAC_GPIOS¶ Declaration of GPIOs that can be used as DAC channels.
1
{ }
ESP-WROVER-KIT has no GPIOs left that might be used as DAC channels.
-
I2C0_SPEED¶ I2C bus speed of
i2c.h::I2C_DEV1
I2C_SPEED_FAST
-
I2C0_SCL¶ SCL signal of
i2c.h::I2C_DEV[UEXT1].1
GPIO27
-
I2C0_SDA¶ SDA signal of
i2c.h::I2C_DEV[UEXT1].1
GPIO26
-
PWM0_GPIOS¶ only available when camera is not connected
1
{ LED0_PIN, LED2_PIN }
-
PWM1_GPIOS¶ pwm.h::PWM_DEVis not used.1
{ }
-
SPI0_DEV¶ HSPI is configured as
spi.h::SPI_DEV1
HSPI
-
SPI0_SCK¶ SD Card SCL.
1
GPIO14
-
SPI0_MOSI¶ SD Card MOSI.
1
GPIO15
-
SPI0_MISO¶ SD Card MISO.
1
GPIO2
-
SPI0_CS0¶ SD Card CS.
1
GPIO13
-
SPI1_DEV¶ When the camera is not connected, VSPI is configured and becomes
spi.h::SPI_DEV.1
VSPINote
The GPIOs listed in the configuration are first initialized as SPI signals when the corresponding SPI interface is used for the first time by either calling the
spi_init_csfunction or thespi_acquirefunction. That is, they are not allocated as SPI signals before and can be used for other purposes as long as the SPI interface is not used.
-
SPI1_SCK¶ VSPI SCK used as LCD SCL, can be used to connect peripherals.
1
GPIO19
-
SPI1_MOSI¶ VSPI MOSI used as LCD MOSI, can be used to connect peripherals.
1
GPIO23
-
SPI1_MISO¶ VSPI MISO used as LCD MISO, can be used to connect peripherals.
1
GPIO25
-
SPI1_CS0¶ VSPI CS0 used as LCD CS, can be used to connect peripherals.
1
GPIO22
-
UART0_TXD¶ direct I/O pin for
uart.h::UART_DEVTxD, can’t be changed1
GPIO10
-
UART0_RXD¶ direct I/O pin for
uart.h::UART_DEVRxD, can’t be changed1
GPIO9