Accessing UART1 on the XIAO ESP32-C6

Hi Team

Question relating to the Tiny Matter-Native Board for Smart Home - XIAO ESP32C6. Can UART1 (not UART0) be remapped to pins D5/D8 on this board?

More info:

  • Schematic of this dev board says that UART0 is connected to D6/D7

  • According to the ESP32-C6 datasheet, UART0 spits out a bunch of debug info during power up:

  • I will have the module permanently connected to a host that I don’t want to be put into an odd mode from the start-up debug info UART0 sends.

  • So I want to instead use UART1 and remap the TX/RX pins to D5/D8:

    • TX changed from ESP32-C6 GPIO16 (U0TXD) to GPIO23 (SDIO_DATA3)

    • RX changed from ESP32-C6 GPIO17 (U0RXD) to GPIO19 (SDIO_CLK)

  • The odd thing is that the spec page for XIAO ESP32-C6 says that the dev board only has two UARTs:

    • 1x UART

    • 1x LP_UART

  • While the datasheet for ESP32-C6 says it has three:

    • 2x UART (UART0 & UART1)

    • 1x LP UART