lvds output to mipi input

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

lvds output to mipi input

1,961 Views
yufe
Contributor II

hello all, 

i have two imx6 custom board, first board use ldb output image, and second board receive image and send it to lcd.

first board                                         second board

fb->ldb      --(max9277/max9288)->  mipi->fb->lcd

first board's fb format is RGB565, mxc fb pixformat is also RGB565. Second board's mipi is set as RGB565, v4l2 capture format also RGB565.(max9277 and max9286 is maxim's Serializers and  Deserializers, i config max9286 as RGB565). the lcd's output is not match:chrome component is not correct.

is there something wrong with my configuration?

if i can set mxc's pixformat as RGB565 ? it normally set as RGB24 or RGB666

if the ldb's SPWG standard not match csi mipi format?

Labels (2)
0 Kudos
Reply
5 Replies

1,575 Views
igorpadykov
NXP Employee
NXP Employee

Hi yu

ldb uses only 18 or 24 bits format as defined by

"data_width" bit register LDB_CTRL. It can not use 16 bits

(RGB565), so fb format RGB565 should be converted to 18 or 24 bit

formats, sent  by ldb and converted back on second board. Please

check sect.37.4.2.3 FCW & FCR - Format converter i.MX6DQ Reference Manual

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

may be useful to check ipu examples

https://community.nxp.com/docs/DOC-94961 

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

0 Kudos
Reply

1,575 Views
yufe
Contributor II

hi igorpadykov,

thanks for your replay.

that is to say i can not set mxc fb format as RTGB56, YUYV16 or some other formats, expect RGB666 or RGB24, when ldb bitwidth is 18?

in current linux ipu driver(3.14.52), ipu will do nothing when dataflow from fb to ldb when i set fb format as RGB565 and ldb bitwidth as 18?

0 Kudos
Reply

1,575 Views
igorpadykov
NXP Employee
NXP Employee

Hi yu

> i can not set mxc fb format as RTGB56, YUYV16 or some other formats, expect RGB666 or RGB24, when ldb bitwidth is 18?

yes, when when ldb bitwidth is 18, fb format should be adjusted to RGB666

>ipu will do nothing when dataflow from fb to ldb when i set fb format as RGB565 and ldb bitwidth as 18?

right

Best regards
igor

1,575 Views
yufe
Contributor II

hi igorpadykov,

in current linux driver, i can only choose RGB565 as mxc fb's pixformat, so i can not use ipu to convert  rgb format in user space.

is there a patch to support RGB565 to RGB666 conversion in mxc fb driver? i found it's too hard form me to modify ipu driver code. i think it's a common problem when someone choose ldb as output device.

0 Kudos
Reply

1,575 Views
igorpadykov
NXP Employee
NXP Employee

Hi yu

>is there a patch to support RGB565 to RGB666 conversion in mxc fb driver?

I am afraid not, sorry. One can apply to NXP Professional Services to develop it:
http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE

Best regards
igor

0 Kudos
Reply