AnsweredAssumed Answered

LCD interface 16 bit RGB (split)

Question asked by Reuel Haavrahami on Sep 5, 2018
Latest reply on Sep 6, 2018 by igorpadykov

Hi

We have an LCD connected to Data0 (EIM_DA9) through to Data11 (EIM_EB0) and Data20 (EIM_D31) through to Data23 (EIM_D27). The pins EIM_A17 (Data12) through to EIM_A24(Data19) are connected to a camera interface.

We are sending data in RGB565 format. The ipu_disp.c we changed as follows (line867)

_ipu_dc_map_config(ipu, 3, 0, 4, 0xF8);
_ipu_dc_map_config(ipu, 3, 1, 10, 0xFC);
_ipu_dc_map_config(ipu, 3, 2, 23, 0xF0);

However we lose the lowest bit of the R-component as this has to be at a different offset than the high-bits of the R-component, since the camera interface splits up the R-component.

Is there a way (perhaps by _ipu_dc_map_link()) to gain this "lost" lower-R-component-bit?

 

We are using Linux kernel 3.14.52

Thanks

Outcomes