I'm currently trying to integrate a 4 Lanes MIPI DSI screen to an iMX6 custom board.

As the iMX6 doesn't provide any 4 lanes MIPI output, I am outputting via HDMI and converting the signal through a Toshiba TC358779XBG HDMI to MIPI converter.

My problem is that my screen is misaligned. The 300px left part of the image is displayed on the right of the screen. The whole image actually seems to be shifted to the left.

An other problem is that the colorspace seems shifted as well. I'm trying to output in RGB24, but the screens seems to interpret the data as BRG24.

The images displayed in the framebuffer are totally right, no pixel/colors is shifted.

Do you know where this misalignment + color problem could come from ?

I can't figure out whether it's coming from the HDMI output or the Toshiba's MIPI output.


  • \$\begingroup\$ sounds like incorrect timing. Are there timing registers you can modify in your converter chip? \$\endgroup\$ – Some Hardware Guy Feb 5 '18 at 16:28
  • \$\begingroup\$ Yep. I did my best to have timings that match the display's datasheet. The only thing I'm not sure of is formulas that give a result in function of UI (unit time). I found out that in the case of MIPI, 1 UI == (HS Byte Clock Period Time) / 2). Is it right ? \$\endgroup\$ – PinkPR Feb 5 '18 at 16:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.