Compatibility Issues with GC9A01 on XIAO ESP32-C6

Hello everyone,

I am working with the XIAO ESP32-C6 board from Seeed Studio and trying to connect a GC9A01 (1.28-inch circular TFT LCD display) to it, but I am facing issues getting it to work correctly.

I have tried using both Arduino IDE and PlatformIO, but so far, I have not been able to get the display to show anything correctly. Has anyone had success using this display with the XIAO ESP32-C6?

Details:

  • Board: XIAO ESP32-C6 by Seeed Studio
  • Display: GC9A01 (1.28-inch circular TFT LCD display)
  • Environments tested: Arduino IDE and PlatformIO
  • Problem: The display does not show anything or shows visual artifacts, and I haven’t found specific documentation for this board with the GC9A01.

Additional Information:

  • I have followed some tutorials for connecting TFT displays with ESP32 in general, but I haven’t found specific examples for the XIAO ESP32-C6.
  • I have installed the correct board manager and set up the connections, but the display does not respond as expected.

Here is my user setup configuration for the display:

cpp

Copiar código

#define USER_SETUP_INFO "User_Setup"

#define GC9A01_DRIVER

// For ESP32 Dev board (only tested with GC9A01 display)
// The hardware SPI can be mapped to any pins

#define TFT_MOSI 10 // In some display driver board, it might be written as "SDA" and so on.
#define TFT_SCLK 8
#define TFT_CS   1  // Chip select control pin
#define TFT_DC   4  // Data Command control pin
#define TFT_RST  2  // Reset pin (could connect to Arduino RESET pin)

// Define the SPI clock frequency, this affects the graphics rendering speed. Too
// fast and the TFT driver will not keep up and display corruption appears.
// With an ILI9341 display 40MHz works OK, 80MHz sometimes fails
// With a ST7735 display more than 27MHz may not work (spurious pixels and lines)
// With an ILI9163 display 27 MHz works OK.

//#define SPI_FREQUENCY   1000000
// #define SPI_FREQUENCY   5000000
//#define SPI_FREQUENCY  10000000
// #define SPI_FREQUENCY  20000000
#define SPI_FREQUENCY  27000000
// #define SPI_FREQUENCY  40000000
// #define SPI_FREQUENCY  55000000 // STM32 SPI1 only (SPI2 maximum is 27MHz)
// #define SPI_FREQUENCY  80000000

Display Connections to the Board:

  • TFT_MOSI (Pin 10) → MOSI Pin on the XIAO ESP32-C6
  • TFT_SCLK (Pin 8) → SCK Pin on the XIAO ESP32-C6
  • TFT_CS (Pin 1) → Chip Select Pin on the XIAO ESP32-C6
  • TFT_DC (Pin 4) → Data/Command Pin on the XIAO ESP32-C6
  • TFT_RST (Pin 2) → Reset Pin (could be connected to the XIAO RESET pin)

Has anyone managed to get this combination to work or can provide guidance or working code examples?

Any help would be greatly appreciated!

Thank you in advance.

HI there,

So what you have probably won’t work. WHich BSP are you using and which LIB for the display. You have the GC9A01 " driver " which LIB are you using , I would check the Seeed Round Display WiKI it’s info converts to what you want.

TFT_eSPI is the one you want but must be a specific one if your using and OLD example the New Version works with all the later BSP’s (2) only)
HTH

GL :slight_smile: PJ :v:

Check out the demo’s on here with code for round display working with C6 AOK :+1:

  • have this device and havent got it working yet… I switched to XIAO Round Display

you are probably going to have a hard time getting a Library which is up to C6 standards… maybe try the round display with a C3 as a starter and see if you can get that going first

Hello, thank you for your response, I have tried all versions since 3.0.0, which I believe is the one that includes the ESP32C6 board (now 3.0.7)

Try the latest versions of TFT_eSPI (currently using 2.5.43).

But I couldn’t get it to work.

Thanks for the information, yes, I followed the steps in that tutorial but it didn’t work.

Unfortunately, I think I will have to wait for them to release a library that considers compatibility.

Thank you!

Hi there,

Wait for WHAT , It works perfectly …? I think you are confused a tad. The GC9A01 driver is xiao agnostic… works with them all.The TFT_eSPI lib is what for a long while was only working with a specific LIb version 2.3.4 for Xiao. Nw the newer BSP supports the current one NO issue’s. (BTW ,your user setup is no good.)

Post the compiler output if you know how, the first 3 lines and the last 10 lines before the upload.

Go look here :>

Post the code you are trying? Use the code tags above “</>” paste it in there.
HTH
GL :slight_smile: PJ :v:

ps, are you able to load and run USERSETUP test? what output do you get?