Lib for FTDI FT800 graphic controller "EVE" The API is changed from the FTDI original names. It use smaller names now. DL() will add something to the display list instead of Ft_App_WrCoCmd_Buffer ... The FTDI programmer Guide is also using this commands.

Dependents:   FT800_RGB_demo FT800_RGB_demo2 FT800_demo_for_habr Temp_&_RH_at_TFT-demo ... more

Fork of FT800 by Peter Drescher

The mbed is talking thru the SPI interface with the graphic engine. We have to set up a list of Commands and send them to the FT800 to get graphics.


1. VM800C development modules from FTDI :

The modules come with different size lcd. 3.5", 4.3" or 5" or without. /media/uploads/dreschpe/ftdi_eve.jpg The picture shows a modified board, because my lcd had a different pinout. The mbed is connected to the pin header on the bottom.

2. EVBEVE-FT800 board from GLYN:

The module has a 40 pin flex cable connector to connect a display out of the EDT series.


The mbed is connected via the pin header on the left. If you use this board with a EDT display you have to uncomment the #define Inv_Backlite in FT_LCD_Type.h, because the backlight dimming is inverted.

3. ConnectEVE board from MikroElektronika The board has also a pin header to connect the mbed. - not tested, but it looks like the other boards.

4. ADAM arduino shield Component page :

Works with the NUCLEO boards, but you have to patch three wires.



We need 5 signals to connect to the mbed. SCK, MOSI and MISO are connected to a SPI channel. SS is the chip select signal and PD work as powerdown. The additional INT signal is not used at the moment. It is possible to generate a interrupt signal, but at the moment you have to poll the status register of the FT800 to see if a command is finished.


This lib is based on the demo code from FTDI. If you want to use it, you have to read the programming manual :

See my demo :

Tue Feb 10 23:32:22 2015 +0000
Add function to read/write touch calibration data.; Add color names  ; Add a patch from  Ivano Pelicella to draw flat buttons

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dreschpe 2:ab74a9a05970 1 /* mbed Library for FTDI FT800 Enbedded Video Engine "EVE"
dreschpe 2:ab74a9a05970 2 * based on Original Code Sample from FTDI
dreschpe 2:ab74a9a05970 3 * ported to mbed by Peter Drescher, DC2PD 2014
dreschpe 2:ab74a9a05970 4 * Released under the MIT License: */
dreschpe 2:ab74a9a05970 5
dreschpe 2:ab74a9a05970 6 #ifndef _FT_HAL_UTILS_H_
dreschpe 2:ab74a9a05970 7 #define _FT_HAL_UTILS_H_
dreschpe 0:5e013296b353 8
dreschpe 0:5e013296b353 9
dreschpe 2:ab74a9a05970 10 #define RGB(r, g, b) ((((vc_int32_t)(r)) << 16) | (((vc_int32_t)(g)) << 8) | (b))
dreschpe 2:ab74a9a05970 11 #define SQ(v) ((v) * (v))
dreschpe 2:ab74a9a05970 12 #define MIN(x,y) ((x) > (y) ? (y) : (x))
dreschpe 2:ab74a9a05970 13 #define MAX(x,y) ((x) > (y) ? (x) : (y))
dreschpe 2:ab74a9a05970 14 #define PLAYCOLOR 0x00A0A080
dreschpe 2:ab74a9a05970 15 #define NOTE(n, sharp) (((n) - 'C') + ((sharp) * 128))
dreschpe 2:ab74a9a05970 16 #define F16(s) ((vc_int32_t)((s) * 65536))
dreschpe 2:ab74a9a05970 17 #define INVALID_TOUCH_XY 0x8000
dreschpe 2:ab74a9a05970 18 #define ABS(x) ((x) > (0) ? (x) : (-x))
dreschpe 2:ab74a9a05970 19
dreschpe 2:ab74a9a05970 20 #endif /* _FT_HAL_UTILS_H_ */
dreschpe 2:ab74a9a05970 21
dreschpe 2:ab74a9a05970 22
dreschpe 2:ab74a9a05970 23
dreschpe 2:ab74a9a05970 24