LCD interface 16 bit RGB (split)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LCD interface 16 bit RGB (split)

703 Views
reuelhaavrahami
Contributor III

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

Labels (4)
0 Kudos
Reply
1 Reply

615 Views
igorpadykov
NXP Employee
NXP Employee

Hi Reuel

for ipu mapping scheme one can look at

Figure 37-33. Example of Data Packing for Writing Data to the Display

i.MX6DQ Reference Manual, seems there is no way to configure it properly in splitting case

http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply