Hello friends, I hope you all are doing great. Today, I am going to share the new GC9A01 Round TFT Library for Proteus Simulation. The GC9A01 is the controller behind the popular 1.28-inch round colour display: 240 x 240 pixels in a 32 mm circle, the screen you see in smart-watch projects, car gauges, round dashboards and robot eyes. With this library you can run a full Proteus simulation of that round display: the 4-line SPI bus, the maker's command set, the 240 x 240 frame memory and the round glass that shows only its circle, so that your drawing code is right before the first module arrives.

Figure: The GC9A01 simulation running: the colour test, then the watch face with its moving hands.
Updates

GC9A01 Round TFT Library for Proteus

Latest version: V1.0 (November 2026, this tutorial)

Other displays: TFT ST7735 · OLED SSD1306 · Nokia 5110 LCD · LCD 16x2

Helping Tools

The picture comes alive on the sheet at run time: what your sketch draws appears in the round glass, and two LEDs on the module show the supply and the SPI traffic. The demo is an analog watch: an Arduino resets the display, sends the maker's init, runs a quick colour test and then draws a watch face whose hands move every second.

NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the LCD board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the GC9A01 Round TFT Library for Proteus Simulation:

Figure: The GC9A01 Round TFT Library for Proteus Simulation.

What Is the GC9A01 Round Display?

The GC9A01 from GalaxyCore is a single-chip driver for small colour TFT panels: it holds a 240 x 240 frame memory of 18-bit colour, drives the panel's rows and columns, and talks to the outside world over SPI or a parallel bus. On the 1.28-inch modules it sits behind a round IPS glass - wide viewing angles, deep blacks - and only the circle of its square memory can be seen. The module adds a regulator and an LED backlight and brings out seven pins.

The round display at a glance
1.28" round TFT module (GC9A01)
Panel1.28" round IPS, 240 x 240 pixels in a 32.4 mm circle
Colours65K (16-bit 565) or 262K (18-bit 666)
Interface4-line SPI: SCL, SDA, DC, CS, plus RST
Moduleabout 37.5 mm round, 3.3 - 5 V, backlight always on
Memory240 x 240 x 18 bits inside the controller
Useswatch faces, gauges, round dashboards, robot eyes

The 4-Line SPI Interface

The display only listens. CS low selects it; on every rising edge of SCL it reads one bit from SDA, most significant bit first - SPI mode 0. The fourth line, DC, says what the byte is: low for a command, high for the command's parameters or for pixel data. RST low resets the controller. There is no MISO here, so a sketch can never ask the display anything - it has to remember the state it set.

Windows and Pixels

Drawing on a TFT means writing into its memory. CASET sets the first and last column of a window, RASET the first and last row - each as two 16-bit numbers - and RAMWR starts the pixels. The pixels then fill the window column by column and row by row, two bytes each in 16-bit mode. A full screen is one window and 57,600 pixels; a single pixel is a window of one, which costs eleven bytes of commands for two bytes of colour. That difference decides how fast your drawing code runs.

Three Settings That Catch Everyone

The round glass has its own habits, and the maker's init sequence takes care of them: MADCTL 48h sets the column order (MX) so that the picture is the right way round and the colour order (BGR) so that red is red, and INVON makes the IPS glass show true colours. Forget INVON and every colour is inverted; forget the BGR bit and red and blue swap places; forget MX and your text is mirrored. Our model behaves exactly like that, so these classic faults show up in the simulation too.

Features of the GC9A01 Round TFT Library for Proteus Simulation

  • A real-looking module: the round 37.5 mm board at its real size, the black round glass with its 32.4 mm active circle, the flex and the header tab.
  • The picture on the sheet: what your sketch draws appears in the round glass at run time, as on the real module.
  • The real interface: 4-line SPI (mode 0), DC sampled with the 8th bit, CS framing, RST and SWRESET.
  • The real commands: CASET, RASET, RAMWR / RAMWRC, MADCTL (MY, MX, MV, BGR), COLMOD 16 / 18 bits, INVON / INVOFF, SLPIN / SLPOUT, DISPON / DISPOFF, and the maker's vendor registers.
  • Real faults: a black glass before SLPOUT and DISPON, inverted colours without INVON, swapped red and blue without BGR, a mirrored picture without MX.
  • A pop-up: the picture (the round glass or the whole memory), ten tiles - the panel, COLMOD, MADCTL, inversion, the window, SPI, pixels, the time of a full screen, commands - graphs, an event log and a check page.
  • LEDs: a PWR and an SPI LED on the module (our additions).
  • A complete package: about 1.4 MB with the library, our Arduino UNO V4.0 and the demo, without the source code of the model.

The GC9A01 in Proteus

The device is GC9A01TEP in TEPGC9A01.LIB, under Optoelectronics > TFT, with the prefix U and the model TEPGC9A01.DLL. Search GC9A01 or round in Pick Devices. Seven pins on the tab: VCC, GND, SCL, SDA, DC, CS and RST. It has no properties: it shows whatever your sketch draws.

Figure: The GC9A01 round TFT module.

Download GC9A01 Round TFT Library for Proteus Simulation

Click the button below to download GC9A01-Round-TFT-Library-for-Proteus-v1.0.zip (about 1.4 MB, without the source code of the models):

GC9A01 Round TFT Library for Proteus V1.0
  • README.txt: installation, the demo, the wiring, troubleshooting and the limits of the simulation.
  • Proteus Library Files: TEPGC9A01.LIB and ArduinoV4TEP.LIB.
  • Proteus Model Files: TEPGC9A01.DLL and TEPARDUINO.DLL.
  • Arduino Code: the demo sketch (no display library).
  • Proteus Simulation: the demo project, its HEX file and copies of the DLLs.

No Proteus yet? Read How to Download and Install Proteus 7 and 8. New to libraries? Follow How to Install a New Library in Proteus.

How to Install GC9A01 Round TFT Library for Proteus Simulation

  1. Close Proteus and extract the whole zip file, for example to your Desktop.
  2. Copy the files from Proteus Library Files into the LIBRARY folder of Proteus.
  3. Copy the files from Proteus Model Files into the MODELS folder.
  4. Delete TEPGC9A01.IDX from the LIBRARY folder if it is there.
  5. Start Proteus, press P and search for GC9A01.

Proteus Simulation of a Round Watch Face

Our demo is a watch. U1 is the GC9A01 module. Its SCL goes to D13 of our Arduino UNO Library for Proteus V4.0 and SDA to D11 - the UNO's hardware SPI clock and MOSI - while CS goes to D10, DC to D9 and RST to D8; VCC and GND to the supply. The Arduino's built-in monitor is the same window as our TEP Serial Monitor Advance for Proteus. Open GC9A01-Watch-ArduinoUnoV4.pdsprj.

Figure: The whole simulation on an A4 sheet.

The Sketch

The sketch needs no display library: it talks to the GC9A01 with plain SPI calls at 8 MHz. A command is one byte with DC low:

void cmd(byte c) { digitalWrite(PIN_DC, LOW); SPI.transfer(c); digitalWrite(PIN_DC, HIGH); }

Every drawing starts with a window - CASET for the columns, RASET for the rows, each as two 16-bit numbers - and RAMWR:

  cmd(0x2A); SPI.transfer(x0 >> 8); SPI.transfer(x0); SPI.transfer(x1 >> 8); SPI.transfer(x1);

A filled rectangle is then one long run of pixels, two bytes each:

  for (long n = (long)w * h; n > 0; n--) { SPI.transfer(hi); SPI.transfer(lo); }

The init sends the maker's register table from flash, then wakes the panel and switches the picture on, with the 120 ms the maker asks for in between:

  cmd(0x11);                                                // SLPOUT: wake up...
  cmd(0x29);                                                // DISPON: the picture shows

Round things are drawn as horizontal spans - one fillRect per row - which keeps every circle, the rim and the hands fast:

  for (int dy = -r; dy <= r; dy++) { const int dx = (int)sqrt((float)r * r - (float)dy * dy); fillRect(x0 - dx, y0 + dy, 2 * dx + 1, 1, c); }

Each second the sketch rubs out the old hands by drawing them in the dial's colour, writes the digital time and draws the hands at their new angles - only what changes, never the whole face.

GC9A01 Simulation Results

Open the project and press Run. The demo runs 14.5 simulated seconds and took about two and a half minutes on our PC with the pop-up open and the pictures being taken. Click the display for its pop-up. Every number below comes from one simulation run, the demo exactly as it ships.

The Init

The sketch holds RST low and lets it go at 65.2 ms. Then the maker's start-up table goes over the bus - 40 vendor registers that set the panel's voltages and gamma - followed by MADCTL 48h, COLMOD 05h (16-bit colour), INVON and SLPOUT, all done at about 196 ms. The sketch waits the 150 ms our init allows for the wake-up and sends DISPON at 346.7 ms: only now does the round glass show what is in the memory. In the pop-up the Wake tile turns to "awake, display on" and the Colours tile to "INVON on, MADCTL 48h (BGR): true colours".

The Colour Test

Next comes a quick colour test: a full screen of red, then green, then blue - one window of 240 x 240 and 57,600 pixels each. The monitor prints 269, 268 and 268 ms for the three fills, and the pop-up agrees: the first full screen took 268.4 ms at 0.636 s, with the SPI clock at 8.00 MHz. That is the speed limit of an Arduino UNO: 115,200 bytes at 8 MHz is about 115 ms of pure clock, and the loop around SPI.transfer() more than doubles it. In our picture the red fill is caught halfway down the glass.

Figure: The colour test.

The Watch Face

Then the watch face appears in 410 ms: the dark dial, the cyan rim, twelve ticks, the numbers 12, 3, 6 and 9, the hour and minute hands in white, the red second hand and the digital time in yellow. The watch starts at 10:08:50. On the sheet the whole face sits in the round glass of the module, and the PWR and SPI LEDs show the supply and the traffic. The corners of the square memory are drawn too, but the glass hides them, as on the real module.

Figure: The watch on the sheet.
Figure: The simulation in the workspace.
Figure: The watch face in the pop-up.

The Hands Move

Every second the sketch rubs out the old hands, writes the new time and draws the hands again - a few thousand pixels instead of a whole screen. At 12.4 s the watch shows 10:09:00 and the minute hand has moved one step; at the end of the run, 14.5 s, it shows 10:09:02. By then the module has received 22,069 commands and 7,340 RAMWR blocks with 283,014 pixels, and only 4 of them were full screens.

Figure: The minute hand moves.

The Graphs, the Event Log and the Check Page

The Graphs page plots the pixels written and the SPI bytes per second, the SPI clock and whether the panel is driven. The Event log keeps the reset, the init's steps and the first full screen. The Check page sums up the run: VCC 5.00 V with about 36 mA for the backlight, one reset, awake with the display on, INVON on and MADCTL 48h (BGR) for true colours, COLMOD 05h, SPI at 8.00 MHz with 22,069 commands (40 vendor registers), 624,873 data bytes and none dropped, and 283,014 pixels in 7,340 RAMWR blocks - a full screen in 268.2 ms. Every line is green.

Figure: The Graphs page.
Figure: The Event log.
Figure: The Check page.

The monitor shows the sketch's side: the init, the time of each colour fill and of the face, and the time every second.

Figure: The monitor.

A Round TFT, a Square TFT or an OLED?

Our TFT ST7735 Library for Proteus simulates the classic 1.8-inch rectangular ST7735: 128 x 160 pixels, the same kind of SPI commands, a cheaper and more familiar shape. Our OLED SSD1306 Library for Proteus is the small monochrome option, perfect for text and simple graphics over I2C. The GC9A01 is the one for anything round - a gauge, a watch, an eye - and its 240 x 240 pixels in a 32 mm circle look far sharper than either.

Try It Yourself

  • Remove INVON (21h) from the init table: every colour on the watch turns into its opposite - the classic first GC9A01 bug.
  • Change MADCTL from 48h to 08h: the numbers are mirrored. Try 28h, 88h and E8h for the other rotations.
  • Click The whole frame memory in the pop-up: the corners of the 240 x 240 memory are there, only the glass hides them.
  • Draw the hands one pixel at a time with a window each, and watch the SPI bytes in the pop-up climb.
  • Leave out DISPON (29h): the init runs, the memory fills, and the glass stays black.

Ideas to Extend the Demo

  • A car gauge with a needle and a digital value from a sensor.
  • A pair of robot eyes on two round displays sharing SCL and SDA, each with its own CS.
  • A compass rose that turns with a magnetometer.

Your Own Sketches

The demo sketch is in the zip file, and you can change it in the Arduino IDE. New to Arduino? Start with our Arduino Tutorial for Beginners. Export the compiled binary, and set the UNO's PROGRAM property to the new file. Our guide on How to get the HEX file from Arduino shows you where the file ends up.

Things to Know Before Using a Real GC9A01

  • 3.3 V logic: the controller is a 3.3 V part; on a 5 V board use a level shifter or a module that has one.
  • The init: send the maker's full register table after every reset - it sets the panel's voltages and gamma.
  • Speed: an UNO's SPI tops out at 8 MHz - redraw only what changes; a faster board makes full-screen animation possible.
  • Round layouts: centre everything on (119.5, 119.5); the corners of the memory are never seen.
  • Several displays: share SCL, SDA and DC; give each its own CS (and RST if you like).

Troubleshooting

  • The glass stays black: no reset or init, SLPOUT or DISPON missing, CS or DC not connected, or no supply.
  • The colours are inverted: INVON (21h) is missing.
  • Red and blue are swapped: MADCTL bit 3 (BGR) is missing.
  • The picture is mirrored or turned: MADCTL - 48h is upright; 28h, 88h and E8h are the other rotations.
  • The part is not simulated: TEPGC9A01.DLL is missing from MODELS and from the project folder.

Limitations of the Simulation

  • The 4-line SPI, the commands, the 240 x 240 memory with its round visible area, the window and address order, the 16 / 18-bit formats and the sleep, display, inversion and reset states follow the maker's description; the module is our own drawing.
  • Our own choices: the glass's polarity, colour order and mounting as the maker's init expects them, the sheet's redraw rate (up to about 12 frames a second) and the LEDs.
  • Not modelled: the panel's frame rate and tearing (TE), the partial and idle modes' looks, gamma, reading back.
  • Arduino is a name of Arduino; this library is not made or endorsed by Arduino, Labcenter or GalaxyCore.
  • Tested in Proteus 8.5 in November 2026 (the demo as shipped). Proteus 7 is not supported.

So, that was all about the GC9A01 Round TFT Library for Proteus Simulation. I hope it helps you get your SPI, your init and your round layouts right before the first module arrives - and that your first watch face ticks in the simulation before it ticks on your wrist. If you have any questions, ask in the comments and I will help you out. Till the next tutorial, take care and have fun!