Getting Started with Seeed Studio Round Display for XIAO | Seeed Studio Wiki

If anyone is still having trouble compiling Arduino sketches for the Round Display, here is one clear method I found to make sure the provided examples work. I believe that I ran into some library conflicts originally on my Windows PC. I am not sure how to delete some libraries from my Windows PC - may have to uninstall and re-install Arduino IDE. However, the simple test was using my RPi400 and created a completely new image and then install Arduino IDE. Then adding the required libraries for the Round Display as stated in the wiki. Make sure you do NOT add the TFT_eSPI library from the IDE library options at anytime but download the library from the WIKI! I was able the have no problems compiling the examples.

i seem to remember a portion of the code that required the TFT_eSPI to be commented out //

that may have to do with it too

ps i think on windows if you go into my documents - arduino folder - libraries you can delete offending instalations… but also sometimes the folder is not the same name as the offending file

also during compile error you can see the offending path

windows no longer allows the setup of “dummy users” to separate login
but maybe on lynix you can set up a new login and get a clean install of arduino without having to wipe the whole OS

regards

The official library doesn’t fit into the limited RAM of the Xiao SAMD. The Xiao ESP32 or RP2040 are required.

Hence the minimalistic implementation I am using with all the Xiao boards.

yes i have noticed this as well

1 Like

Anyone got any more tips with this one? I have been back and forward with support on this one getting it working with the Xiao ESP32S3 module but can’t get it to work. Display lights up, but nothing is shown (backlight only)

I’ve been back and forth with support installing different libraries, but nothing works with this display, I’ve got several different circular displays which work fine, but having real trouble with this Xiao display. I’ve even tried Arduino on another computer to rule out old libraries, but cannot get it working.

Very disappointed in my Seeed studio products so far, from reading the documentation before purchasing I was lead to believe this was a well documented and supported piece of hardware. It seems I was wrong.

2 Likes

I’ve got exactly the same issue.

1 Like

I understand the problems people are experiencing and we apologize. Since the LVGL and TFT libraries were not developed by us, there is no way for us to require developers to release versions that work directly with XIAO and Round Display without any modifications. This is true for the vast majority of screen devices, and it is necessary to make changes to the configuration of the libraries.

If you do have trouble with the LVGL and TFT modification steps, I suggest you just use the libraries we’ve already modified instead of downloading them from the Library Manager. If you have better suggestions on how to do this, feel free to submit PRs to our Wiki content as well.

Seeed-Studio-XIAO-Round-Display-lvgl8.3.5/libraries at main · limengdu/Seeed-Studio-XIAO-Round-Display-lvgl8.3.5 (github.com)

Meanwhile, if you have the need to use SquareLine Studio for LVGL GUI development, you are also welcome to refer to my project program for configuration:

This project is based on the SquareLine 1.2.3 export and lvgl 8.3.4 and tft 1.0.6.

All though I was able to test all pins using a LED, I resoldered all joints and the display is working now.

I had the same problem…
I have a XIAO SAMD21 board connected to the XIAO Round display.
After a lot of stress getting the libraries loaded (yes I read the instructions),
I tried to build the HardwareTest sketch.
In the end, the compile fails.
It looks like there is not enough RAM (.bss) space by about 27k!

-R

===
/Users/rolf/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/…/lib/gcc/arm-none-eabi/7.2.1/…/…/…/…/arm-none-eabi/bin/ld: /var/folders/5j/3r8174xs47b4h2v2f27y0y880000gn/T/arduino_build_428479/HardwareTest.ino.elf section .bss' will not fit in region RAM’
Multiple libraries were found for “TFT_eSPI.h”
Used: /Users/rolf/Documents/Arduino/libraries/TFT_eSPI
Not used: /Users/rolf/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.5/libraries/Seeed_Arduino_LCD
/Users/rolf/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/…/lib/gcc/arm-none-eabi/7.2.1/…/…/…/…/arm-none-eabi/bin/ld: region RAM overflowed with stack
/Users/rolf/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/…/lib/gcc/arm-none-eabi/7.2.1/…/…/…/…/arm-none-eabi/bin/ld: region `RAM’ overflowed by 26932 bytes
collect2: error: ld returned 1 exit status

Sorry, the instructions for the Round display are not correct.
After following the instructions, the HardwareTest sketch was not there.
I had to go search around for a library to get that sketch.
(In the end, that sketch didn’t work for me on the XIAO SAMD21 board, but that’s another story)

May I suggest one of the Seeed engineers look at the solution that worked for me, validate it and share it as an alternative to the listed heavyweights, LVGL and TFT libraries?

Thank you!

Have you tried the solution that worked for me?

You may need to define the pins used by SPI, something like

    // Board Xiao ESP32-C3 crashes if pins are not specified.
    SPI.begin(8, 9, 10); // SCK MISO MOSI

The multiple ESP32 variants and their implementations are rather tricky.

Thanks. I saw your post but have not tried that. What you showed didn’t look like a complete sketch,
just some lines of code.
For example, which libraries are needed in order to run it?
-R

That’s great that you got it working. But, you didn’t say which MCU board you used?
A few more details would help others solve this puzzle.

By the way, the board i used was the XIAO ESP32C3.
After starting my Arduino library from scratch i was able to get the provided demo to work. I have since added dome additional code to blank the screen and display the date and digital time.

like this on , NTP ?

https://forum.seeedstudio.com/t/round-display-with-xiao-nrf52840-sense-tft-espi-lvl-example/270762/3?u=pj_glasso
some output for others as well…
HTH
GL :slight_smile: PJ

Thanks. It seems that people using the ESP32 boards got it working.
I haven’t heard from anyone who was successful using a SAMD21 board though.

I’m trying to get something very basic working with the TFT_eSPI library.
I did verify the pinouts (in User_Setups/Setup66_XIAO_Round_Expansion.h) and they seem to
be correct.
So far no luck.
The Round display just shows garbage pixels and doesn’t draw anything.

Unfortunately, it has been a very long time ago and I should start again from scratch investigating those libraries with the Xiao round display.