RGB display, screen flipped vertically.

cancel
Showing results for 
Search instead for 
Did you mean: 

RGB display, screen flipped vertically.

651 Views
czur
Contributor III

Hi,

I am using a RGB interface display of 45 pins which we have connected to the iMX7 sabre board with a adapter since the RGB interface on the sabre is 50 pins. I have set the  lcdif device tree to configure the display as below based on the display data sheet. but the display seems to be flipped vertically (mirrored vertically, picture attached). Has anyone faced similar issue? is there any setting in the driver that I am missing that needs to be set for the RGB interface?

&lcdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat
&pinctrl_lcdif_ctrl>;
enable-gpio = <&gpio_spi 7 GPIO_ACTIVE_LOW>;
display = <&display0>;
status = "okay";

display0: display {
bits-per-pixel = <24>;
bus-width = <24>;

display-timings {
native-mode = <&timing_wvga>;
/* WVGA Timing*/
timing_wvga: 800x480 {
clock-frequency = <33300000>;
hactive = <800>;
vactive = <480>;
hback-porch = <46>;
hfront-porch = <210>;
vback-porch = <23>;
vfront-porch = <22>;
hsync-len = <20>;
vsync-len = <10>;

de-active = <1>;
hsync-active = <0>;
vsync-active = <0>;
pixelclk-active = <1>;
};
};
};
};

Thanks for your response.

Regards

Arun

#imx7s lcd#imx7s display#RGB #RGBinterface

Labels (3)
0 Kudos
6 Replies

129 Views
nandishguruling
Contributor III

Hi Arun,

you can check with the u-boot parameters, while booting time press any key, and type print now see the displayinfo arguments,Like  (example"displayinfo Video=mxcfbo ,dev=lcd ,800x480@70,if=RGB565"), set these arguments according to your display,

i hope your display x=800 and y=480 (i.e 800x480 ) then according to this what you got that is correct format only,

if you get any other answer please share it here,

Best Regards

SGN

0 Kudos

129 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Arun

one can try to flip image using example in unit tests (imx-test):

..test/pxp_lib_test/pxp_test.c
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz

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

129 Views
czur
Contributor III

Seems like the issue was with the Display controller jumper setting's. The scan direction was set wrong.

but the PXP example is useful in understanding the usage.

Thanks Igor!

0 Kudos

129 Views
yuvakrishna
Contributor II

Hi igor,

By Default if we have the IMX7 connected to 45 Pin RGB Display, why it should show the image as flipped in attached image.  Isn't it a issue with IMX7 RGB Driver or Framebuffer?

As per the question it says the configuration isn't changed other than Device Tree.

By Default, does the RGB Display Driver uses PXP? How can we use the test to fix this concern.

Thanks and Regards,

Yuva

0 Kudos

129 Views
igorpadykov
NXP TechSupport
NXP TechSupport

By Default, does the RGB Display Driver uses PXP?

yes

Could you try with lcd provided with i.MX7D Sabre SD - LCD8000 ?

~igor

0 Kudos

129 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Yuva

yes it uses PxP, could you try with lcd provided with i.MX7D Sabre SD - LCD8000.

Best regards
igor

0 Kudos