9 years, 4 months ago.

HY28B in 16 bits parallel mode

Hi Frank !

Is your SPI_TFT_ILI9320 Library can drive the newest HY28B in 16 bits parallel mode ? (I have a HAOYU Mini-DK2 with HY28B, and I wish to keep speed efficency of the 16 bits more)

Regards,

Question relating to:

SPI Library for 240x320 TFT LCD with ILI9320, ILI9325 and ILI9328 chip ILI9320, LCD, SPI, TFT

1 Answer

9 years, 4 months ago.

Hi Martin,
Unfortunately, this library only suports SPI mode.
Adding 16-bit parallel mode is on my todo list but, currently, i can't tell when it will be implemented.

Hi Frank, Thanks for the info. If you need to access to chinese sources I've got from the manufacturer, I can provided it to you (although is quite ugly, especially the touchscreen part that I didn't manage to get working properly).

posted by Martin Ayotte 07 Jan 2015

Thanks, but i already have these sources. I think it will be much easier to start with the current mbed library and replace all LCD SPI code with parallel bus code.

posted by Frank Vannieuwkerke 07 Jan 2015

Edit - i started creating a forked lib using 8/16 bit parallel mode. If time permits, this should be finished this weekend.

Note : I will try to include 2 bus options - one using BusInOut (freedom of pin choice - not the fastest) and one using PortInOut (limited pin choice - faster throughput).

Update
There already is a 16-bit parallel library available for the ILI9325 (and other LCDs) at this page.
This was ported from Hennig Karlsen's UTFT library.

Yet another update
The 8/16 bit addition is put on hold - i started a topic about what needs to be done to make it easier for future TFT library developments.

posted by Frank Vannieuwkerke 09 Jan 2015

Hi Frank, Thanks for the hint, I didn't know that there was already a Library for 16bits. I gave it a try, it seems to work, except few minor glitches like all RGB are inverted and it seems that full ClearScreen is a bit slow. I will investigate. At least, it is better than the chinese code. :-)

posted by Martin Ayotte 13 Jan 2015