ESP32-PICO-D4 UART, SPI and I2C
Posted: Thu Jan 02, 2020 4:25 pm
I need to use 2 UARTS, 1 SPI and 1 I2C in a particular application featuring the ESP32-PICO-D4.
I'm currently designing the PCB and was looking for confirmation from the community if the pins I've chosen are correct and there won't be any conflicts while programming the part.
For SPI i've chosen VSPI port and the following GPIO's
GPIO23 - MOSI
GPIO19 - MISO
GPIO18 - SCK
GPIO5 - CS
For I2C i've chosen
GPIO21 - SDA
GPIO22 - SCL
I've concerns over here that these overlap with VSPIWP and VSPIHD, I don't know what these pins are but they seem to be related to the VSPI port, I won't be using them in my application but I'm using the VSPI port, so is it OK to map these pins to I2C.
For programming port i've chosen UART0
U0TXD - TX
U0RXD - RX
EN - Enable
GPIO0 - Boot select
For my own use i've chosen UART1
GPIO9 - RX
GPIO10 - TX
Thanks in advance.
I'm currently designing the PCB and was looking for confirmation from the community if the pins I've chosen are correct and there won't be any conflicts while programming the part.
For SPI i've chosen VSPI port and the following GPIO's
GPIO23 - MOSI
GPIO19 - MISO
GPIO18 - SCK
GPIO5 - CS
For I2C i've chosen
GPIO21 - SDA
GPIO22 - SCL
I've concerns over here that these overlap with VSPIWP and VSPIHD, I don't know what these pins are but they seem to be related to the VSPI port, I won't be using them in my application but I'm using the VSPI port, so is it OK to map these pins to I2C.
For programming port i've chosen UART0
U0TXD - TX
U0RXD - RX
EN - Enable
GPIO0 - Boot select
For my own use i've chosen UART1
GPIO9 - RX
GPIO10 - TX
Thanks in advance.