Hello,
As stated in section 53.3.19 (DIRECT_RGB454) of the i.MX6 S/DL RM,
the address in the LUT is generated as: R[23:20], G[15:11], B[7:4].
This means R[23] bit defines if output data are Red or Blue.
I think, it would be better to use the most significant bits of each color : R[23], G[15], B[7] :
where these bits (12-th, 8-th, 3-th of LUT index) are set content should be 0x001F <Blue Colour>,
all the rest as - 0xF800 <Red Colour>.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------