Building an LCD TFT library for Arduino DUE

As I mentioned in my last post, the LCD TFT HX8347A library for Due is almost done but before publish it on github, I decided to create a drawing bitmap function (nonexistent in the Atmel ASF example). So far it is running OK. I used part of the Adafruit/Arduino TFT LCD code that converts RGB888 to RGB565. It was necessary to resolve a couple of issues including the redefinition of two EBI data bus pins D8(PC9) and D9(PC10) correspondent to the Due pins 117 and 93 that never where broken out. Another pending task of this first phase is to redefine the rest of the necessary pins between DUE and the LCD to make possible them to interconnect via the 2x18 connector. I still believe that this library is worthy given that the data is transferred via the AHB bus which is almost twice faster than SPI that use the DMA at around 40MHz, and also the matching of the LCD with DUE without any shield in between.

The second phase will be the touch screen feature but I must finish first with the HX8347A.
I already received a commercially available LCD (mikroElectronika) with same controller. I hope to test it next week.

Here a picture of the famous tiger bitmap from Adafruit (Image by Shane Gorski).

p