Electronic – Line down center of TFT display

displaytft

I'm trying to connect a Sharp LQ070Y3DG3B TFT display to an Epson S1D13517 display controller. The test image and a bitmap that I've loaded are showing up fine, except there is a aqua line vertically down the center of the display about 1 pixel wide regardless of what I try to display. To the left side of the aqua line is a strip about 5 pixels wide that the colors on the test pattern are incorrect except for green. Does this failure mode tell me something about what could be wrong with the software/hardware? How can I determine what is wrong with the display?

Best Answer

The EPSON datasheet has an incorrect formula for calculating the value of the horizontal display width register (HDISP [16h]). The formula should read:
HDISP in number of pixels = ((REG[16h] bits 6-0)) x 8

Instead of:
HDISP in number of pixels = ((REG[16h] bits 6-0)+1) x 8