Questions? Call us: +1 760-918-6722

DT022CTFT in RGB mode

Hello, I'm using the DT022CTFT display in RBG mode via the FT800 controller
(FTDI-Bridgetek). Unfortunately, after 2 weeks of attempts, I still haven't
been able to view any images.
In the forum I read that:
   "If your microcontroller has a RGB interface, the DT024CTFT should display
an image when IM3 and IM2 are pulled high. The serial interface is only used
to change the default display settings if you require something different."
I'm using DT022CTFT: it's the same?
Can you give me any support?



engineering_seacomp's picture
July 23, 2019


I am not familiar with the FTDI-Bridgetek.

What do you have your IM pins set to?  In general, for RGB you will see something on the screen, but it will be random lines if the RGB timing is off.  My understanding is that you have changed the RGB values on your device several times.  The ILI9341 datsheet shows the RGB timing.

Do you have the backlight on?



Logitronix's picture
July 25, 2019


yes, I have the backlight on!

IM3 = 1, IM2 = 1, IM1 = 0, IM0 = 1

In attach, I send you the waveforms  captured by the oscilloscope:

Channel 1 - Yellow: DE (ENABLE)

Channel 2 - Blue: VSYNC

Channel 3 - Purple: HSYNC

Channel 4 - Green: DOTCLK

I don't understand what the problem is.


engineering_seacomp's picture
July 30, 2019


Your scope images appear to show your video timing is good. IM[2] should be high for RGB mode. The other three IM pins determine the type of serial port will be available to change the display settings. By default, the DT022CTFT should display a RGB image without needing to change the settings with the serial port. If you do need to make changes to the settings,  4-wire 8-bit data serial interface Ⅱ ( IM[1,1,1,0] ) is the serial mode closest to standard SPI bus. You will also need to use one of the FT800 GPIO pins to control the D/CX pin (RS, pin 32). This pin tells the display whether the incoming bits are part of a command or data byte.

Since you are still not seeing an image, could you post a screen shot of the portion of your schematic that shows the DT022CTFT display connections to the FT800 driver? There may be something that is hard for us to diagnose without seeing the connections. We also need to see the power and backlight circuit to make sure those are connected properly. 


Logitronix's picture
July 31, 2019

Thanks for the reply,
I enclose the diagram concerning the display and the FT800 driver.
IM0..IM3 are set to 1101, which means 9-bit SPI.

engineering_seacomp's picture
July 31, 2019


1. It looks like you are using a parallel port of a microcontroller to talk to the serial port of the DT022CTFT. Remember that SDO (pin 29) is an output, so DB7 needs to be an input. I don't know if this is possible on your microcontroller or not. I'm assuming you have the ability to make each bit of the port a GPIO input or an output. If DB7 is an output, it could interfere with the operation of the display.

2. Remember, there actually is no true 9-bit SPI bus so you have to bit-bang the display serial port. Our demo code shows a bit-bang routine that works using GPIO's on a PIC. The 9th bit is the D/CX command that tells the display if the byte is data or command. Refer to the ILI9341 data sheet for timing details. Implementing it correctly is tricky and it is best to try and read a register with a fixed value such as "Read ID4" first to get your code working. The third and fourth bytes are always 0x93 and 0x41.

3. Make sure your DISP signal is low upon power up and then goes high once power is stable. This assures the display starts properly. If the reset pin stays low, you won't see an image.

4. RD and WR (pins 31 and 33) need to be pulled high since they are not used. The ILI9341 data sheet has more detail on this than the DT022CTFT data sheet. 

5. Make sure you actually have display backlight current flowing. Measure the voltage across your R60 and see if it is close to 600mV. Actually, it is better drive each LED individually since so that one LED will not draw more current than the others. The forward voltage of the backlight LED's is temperature sensitive and varys between LED's, so we recomment you use a LED driver chip similar to the CAT4104. V_BAT-LED-A needs to be at least 4V for the backlight current to be stable. 5V is better.