This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X TFT LCD connection problem in bits order

Hi,

I connect lcd signals to my lcd panel as incorrect bit order (B7->B0, B6->B1 and ...)

is there any way to reverse msb/lsb bits on pixel data by am335x internal registers or handy change in fb driver without changes to my PCB board?

what is raster-order  bit functionality in control register?

thanks.

  • Hi Rama,

    The clearest decision is to change your PCB. It is possible to have a software decision in driver for swapping msb to lsb but it will consume many CPU time and it would be unprofitable.
    Therefore if it is not possible to change the PCB I suggest you to use cfg_rdorder and cfg_nibmode bit fields of RASTER_CTRL Register. You can find more details in the AM335x TRM sections 13.4.3 System Interaction and 13.5.1.10 RASTER_CTRL Register at:
    www.ti.com/.../spruh73o.pdf

    BR
    Tsvetolin Shulev